svn commit: r604914 - /lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/World.java

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Mon Dec 17 08:25:38 2007
New Revision: 604914

URL: http://svn.apache.org/viewvc?rev=604914&view=rev
Log:
Updated javadoc comment

Modified:
    lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/World.java

Modified: lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/World.java
URL: http://svn.apache.org/viewvc/lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/World.java?rev=604914&r1=604913&r2=604914&view=diff
==============================================================================
--- lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/World.java (original)
+++ lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/lenya/ac/World.java Mon Dec 17 08:25:38 2007
@@ -21,17 +21,19 @@
 import java.io.Serializable;
 
 /**
- * The world.
+ * The world. This class uses the Singleton pattern.
  * @version $Id: World.java 473841 2006-11-12 00:46:38Z gregor $
  */
 public final class World implements Identifiable, Accreditable, Serializable {
-    
+
     private static final long serialVersionUID = 1L;
-    
+
     private static final String NAME = "everyone";
 
     /**
-     * Creates a new World object.
+     * Creates a new World object. The constructor is private to ensure that only one instance can
+     * be created.
+     * @see #getInstance()
      */
     private World() {
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.