src/share/classes/javax/naming/CompoundName.java

Print this page

        

@@ -163,11 +163,11 @@
       */
     protected transient Properties mySyntax;
 
     /**
       * Constructs a new compound name instance using the components
-      * specified in comps and syntax. This protected method is intended to be
+      * specified in comps and syntax. This protected method is intended
       * to be used by subclasses of CompoundName when they override
       * methods such as clone(), getPrefix(), getSuffix().
       *
       * @param comps  A non-null enumeration of the components to add.
       *   Each element of the enumeration is of class String.

@@ -363,11 +363,11 @@
     /**
       * Creates a compound name whose components consist of a prefix of the
       * components in this compound name.
       * The result and this compound name share the same syntax.
       * Subsequent changes to
-      * this compound name does not affect the name that is returned and
+      * this compound name do not affect the name that is returned and
       * vice versa.
       *
       * @param  posn    The 0-based index of the component at which to stop.
       *                 Must be in the range [0,size()].
       * @return A compound name consisting of the components at indexes in

@@ -383,11 +383,11 @@
     /**
       * Creates a compound name whose components consist of a suffix of the
       * components in this compound name.
       * The result and this compound name share the same syntax.
       * Subsequent changes to
-      * this compound name does not affect the name that is returned.
+      * this compound name do not affect the name that is returned.
       *
       * @param  posn    The 0-based index of the component at which to start.
       *                 Must be in the range [0,size()].
       * @return A compound name consisting of the components at indexes in
       *         the range [posn,size()).  If posn is equal to

@@ -421,11 +421,11 @@
         }
     }
 
     /**
       * Determines whether a compound name is a suffix of this compound name.
-      * A compound name 'n' is a suffix if it it is equal to
+      * A compound name 'n' is a suffix if it is equal to
       * getSuffix(size()-n.size())--in other words, this
       * compound name ends with 'n'.
       * If n is null or not a compound name, false is returned.
       *<p>
       * Implementation note: Currently the syntax properties of n