summaryrefslogtreecommitdiff
path: root/javax/naming/CompositeName.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/naming/CompositeName.java')
-rw-r--r--javax/naming/CompositeName.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/javax/naming/CompositeName.java b/javax/naming/CompositeName.java
index 6f3466ca2..322f63279 100644
--- a/javax/naming/CompositeName.java
+++ b/javax/naming/CompositeName.java
@@ -47,11 +47,18 @@ import java.util.NoSuchElementException;
import java.util.Vector;
/**
+ * Represents names that may span over several namespaces. For instance,
+ * the composite name http://www.gnu.org/software/classpath/index.html spans
+ * over three namespaces (the protocol http, the web server location
+ * (www.gnu.org) and the index.html location on the server).
+ *
* @author Tom Tromey (tromey@redhat.com)
*/
public class CompositeName implements Name, Cloneable, Serializable
{
private static final long serialVersionUID = 1667768148915813118L;
+
+ private transient Vector elts;
public CompositeName ()
{
@@ -331,6 +338,4 @@ public class CompositeName implements Name, Cloneable, Serializable
for (int i = 0; i < elts.size(); i++)
s.writeObject(elts.get(i));
}
-
- private transient Vector elts;
}