< prev index next >

modules/javafx.graphics/src/main/java/javafx/css/Rule.java

Print this page
rev 10598 : 8185767: Fix broken links in Javadocs

@@ -106,13 +106,10 @@
     /**
      * This method is to support tooling that may want to add declarations to
      * or remove declarations from a Rule. Changes to the list are tracked
      * so that added declarations are tagged as belonging to this rule, and
      * the rule for removed declarations is nulled out.
-     * If the list is not going to be modified, then it is more efficient to
-     * call {@link #getUnobservedDeclarationList()}, but the returned list
-     * must be treated as unmodifiable.
      * @return a observable list of declarations
      */
     public final ObservableList<Declaration> getDeclarations() {
 
         if (observables == null) {

@@ -125,13 +122,10 @@
     /**
      * This method is to support tooling that may want to add selectors to
      * or remove selectors from a Rule. Changes to the list are tracked
      * so that added selectors are tagged as belonging to this rule, and
      * the rule for removed selectors is nulled out.
-     * If the list is not going to be modified, then it is more efficient to
-     * call {@link #getUnobservedSelectorList()}, but the returned list
-     * must be treated as unmodifiable.
      * @return an observable list of selectors
      */
     public final ObservableList<Selector> getSelectors() {
 
         if (observables == null) {
< prev index next >