/[classpath]/classpath/javax/naming/CompoundName.java
ViewVC logotype

Diff of /classpath/javax/naming/CompoundName.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by tromey, Fri Apr 23 19:38:16 2004 UTC revision 1.6.2.1 by gnu_andrew, Fri Jan 14 10:24:16 2005 UTC
# Line 55  import java.util.Vector; Line 55  import java.util.Vector;
55   * direction is never described.  If it means that the CompoundName   * direction is never described.  If it means that the CompoundName
56   * can only have a single element, then the Enumeration-based   * can only have a single element, then the Enumeration-based
57   * constructor ought to throw InvalidNameException.   * constructor ought to throw InvalidNameException.
58     *
59     * @since 1.3
60   */   */
61  public class CompoundName implements Name, Cloneable, Serializable  public class CompoundName implements Name, Cloneable, Serializable
62  {  {
# Line 158  public class CompoundName implements Nam Line 160  public class CompoundName implements Nam
160              i += special.length ();              i += special.length ();
161              continue;              continue;
162            }            }
163          else if (special == separator)          else if (direction != FLAT && special == separator)
164            {            {
165              elts.add (new_element.toString ());              elts.add (new_element.toString ());
166              new_element.setLength (0);              new_element.setLength (0);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26