2006-05-23  Audrius Meskauskas  <[EMAIL PROTECTED]>

  * javax/swing/naming/CompositeName.java,
  javax/swing/naming/CompoundName.java:
  Documented.
Index: CompositeName.java
===================================================================
RCS file: /sources/classpath/classpath/javax/naming/CompositeName.java,v
retrieving revision 1.5
diff -u -r1.5 CompositeName.java
--- CompositeName.java	6 Apr 2006 18:04:13 -0000	1.5
+++ CompositeName.java	23 May 2006 17:59:08 -0000
@@ -47,11 +47,18 @@
 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 ([EMAIL PROTECTED])
  */
 public class CompositeName implements Name, Cloneable, Serializable
 {
   private static final long serialVersionUID = 1667768148915813118L;
+  
+  private transient Vector elts;  
 
   public CompositeName ()
   {
@@ -331,6 +338,4 @@
     for (int i = 0; i < elts.size(); i++)
       s.writeObject(elts.get(i));
   }
-
-  private transient Vector elts;
 }
Index: CompoundName.java
===================================================================
RCS file: /sources/classpath/classpath/javax/naming/CompoundName.java,v
retrieving revision 1.10
diff -u -r1.10 CompoundName.java
--- CompoundName.java	8 Sep 2005 08:32:35 -0000	1.10
+++ CompoundName.java	23 May 2006 17:59:09 -0000
@@ -48,6 +48,10 @@
 import java.util.Vector;
 
 /**
+ * Represents hierarchical names from the single namespace. For instance,
+ * the path /home/audriusa/classpath/file.txt is the compound name, using
+ * the filesystem namespace. 
+ * 
  * @author Tom Tromey ([EMAIL PROTECTED])
  * @date May 16, 2001
  *

Reply via email to