Bug 193260 [Databinding] Incorrect javadoc for TextObservableValue
Build ID: I20070525-1350 Steps To Reproduce: The javadoc for the constructor public TextObservableValue(final Text text, int updateEventType) incorrectly states that one of the valid values for the parameter updateEventType is SWT.NONE. This should be SWT.None, as the former is a bitmask and the latter is an event type. More information: Note that due to the fact that SWT.NONE and SWT.None are both 0, the code would behave correctly anyway.
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/internal/swt/TextObservableValue.java
private boolean updating = false;
	/**
	 * SWT event that on firing this observable will fire change events to its
	 * listeners.
	 */
	private final int updateEventType;
	/**
	 * Valid types for the {@link #updateEventType}.
	 */
	private static final int[] validUpdateEventTypes = new int[] { SWT.Modify,
			SWT.FocusOut, SWT.NONE };
	/**
	 * Previous value of the Text.
	 */
	private String oldValue;
	private Listener updateListener = new Listener() {
		public void handleEvent(Event event) {
			if (!updating) {
				String newValue = text.getText();
				if (!newValue.equals(oldValue)) {
					fireValueChange(Diffs.createValueDiff(oldValue, newValue));					
					oldValue = newValue;
				}
			}
		}
	};
	private VerifyListener verifyListener;
	/**
	 * Constructs a new instance bound to the given <code>text</code> widget
	 * and configured to fire change events to its listeners at the time of the