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
/**
		 * Return an IValidator for a specific fromClass and toClass.
		 * 
		 * @param fromClass
		 *            The Class to convert from
		 * @param toClass
		 *            The Class to convert to
		 * @return An appropriate IValidator
		 */
		private IValidator get(Object fromClass, Object toClass) {
			IValidator result = (IValidator) validators.get(new Pair(fromClass,
					toClass));
			if (result != null)
				return result;
			if (fromClass != null && toClass != null && fromClass == toClass) {
				return new IValidator() {
					public IStatus validate(Object value) {
						return Status.OK_STATUS;
					}
				};
			}
			return new IValidator() {
				public IStatus validate(Object value) {
					return Status.OK_STATUS;
				}
			};
		}
	}
}