* javax/naming/CompoundName.java (CompoundName): Don't check for
separator in "flat" case.
From-SVN: r87410
+2004-09-12 Tom Tromey <tromey@redhat.com>
+
+ * javax/naming/CompoundName.java (CompoundName): Don't check for
+ separator in "flat" case.
+
2004-09-12 Michael Koch <konqueror@gmx.de>
* libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
* direction is never described. If it means that the CompoundName
* can only have a single element, then the Enumeration-based
* constructor ought to throw InvalidNameException.
+ *
+ * @since 1.3
*/
public class CompoundName implements Name, Cloneable, Serializable
{
i += special.length ();
continue;
}
- else if (special == separator)
+ else if (direction != FLAT && special == separator)
{
elts.add (new_element.toString ());
new_element.setLength (0);