< prev index next >

modules/javafx.base/src/main/java/javafx/beans/value/ObservableValue.java

Print this page

        

@@ -42,12 +42,12 @@
  * lazily the next time the value is requested. All bindings and properties in
  * this library support lazy evaluation.
  * <p>
  * An {@code ObservableValue} generates two types of events: change events and
  * invalidation events. A change event indicates that the value has changed. An
- * invalidation event is generated, if the current value is not valid anymore.
- * This distinction becomes important, if the {@code ObservableValue} supports
+ * invalidation event is generated if the current value is not valid anymore.
+ * This distinction becomes important if the {@code ObservableValue} supports
  * lazy evaluation, because for a lazily evaluated value one does not know if an
  * invalid value really has changed until it is recomputed. For this reason,
  * generating change events requires eager evaluation while invalidation events
  * can be generated for eager and lazy implementations.
  * <p>

@@ -106,11 +106,11 @@
      *             if the listener is null
      */
     void addListener(ChangeListener<? super T> listener);
 
     /**
-     * Removes the given listener from the list of listeners, that are notified
+     * Removes the given listener from the list of listeners that are notified
      * whenever the value of the {@code ObservableValue} changes.
      * <p>
      * If the given listener has not been previously registered (i.e. it was
      * never added) then this method call is a no-op. If it had been previously
      * added then it will be removed. If it had been added more than once, then
< prev index next >