Bug 178680 [Databinding] UpdateValueStrategy.setBeforeSetValidator() breaks call chaining
Build ID: I20070319-0010 In the class UpdateValueStrategy the method setBeforeSetValidator() returns UpdateStrategy instead of UpdateValueStrategy. It breaks the call chaining. Should it not match the return type from setAfterConvertValidator(), setAfterGetValidator(), and setConverter()?
bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/UpdateValueStrategy.java
} catch (Exception ex) {
			return ValidationStatus.error(BindingMessages
					.getString("ValueBinding_ErrorWhileSettingValue"), 
					ex);
		}
		return Status.OK_STATUS;
	}
	private static class ValidatorRegistry {
		private HashMap validators = new HashMap();
		/**
		 * Adds the system-provided validators to the current validator
		 * registry. This is done automatically for the validator registry
		 * singleton.
		 */
		private ValidatorRegistry() {
			
			associate(Integer.class, Integer.TYPE,
					new ObjectToPrimitiveValidator(Integer.TYPE));
			associate(Byte.class, Byte.TYPE, new ObjectToPrimitiveValidator(
					Byte.TYPE));
			associate(Short.class, Short.TYPE, new ObjectToPrimitiveValidator(
					Short.TYPE));
			associate(Long.class, Long.TYPE, new ObjectToPrimitiveValidator(
					Long.TYPE));
			associate(Float.class, Float.TYPE, new ObjectToPrimitiveValidator(
					Float.TYPE));
			associate(Double.class, Double.TYPE,
					new ObjectToPrimitiveValidator(Double.TYPE));
			associate(Boolean.class, Boolean.TYPE,
					new ObjectToPrimitiveValidator(Boolean.TYPE));