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
}
	}
	/**
	 * Returns the current value of the {@link Text}.
	 * 
	 * @see org.eclipse.core.databinding.observable.value.AbstractVetoableValue#doGetValue()
	 */
	public Object doGetValue() {
		return oldValue = text.getText();
	}
	/**
	 * Returns the type of the value from {@link #doGetValue()}, i.e.
	 * String.class
	 * 
	 * @see org.eclipse.core.databinding.observable.value.IObservableValue#getValueType()
	 */
	public Object getValueType() {
		return String.class;
	}
	public void dispose() {
		if (!text.isDisposed()) {
			if (updateEventType != SWT.None) {
				text.removeListener(updateEventType, updateListener);
			}
			text.removeVerifyListener(verifyListener);
		}
		super.dispose();
	}
}