Update of /var/cvs/src/org/mmbase/module/core
In directory james.mmbase.org:/tmp/cvs-serv3426

Modified Files:
        MMBase.java MMBaseContext.java 
Log Message:
'unknown' does not make much sense, and it not documented


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/module/core


Index: MMBase.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/module/core/MMBase.java,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -b -r1.255 -r1.256
--- MMBase.java 4 Sep 2008 05:56:23 -0000       1.255
+++ MMBase.java 5 Sep 2008 14:18:55 -0000       1.256
@@ -45,7 +45,7 @@
  * @author Pierre van Rooden
  * @author Johannes Verelst
  * @author Ernst Bunders
- * @version $Id: MMBase.java,v 1.255 2008/09/04 05:56:23 michiel Exp $
+ * @version $Id: MMBase.java,v 1.256 2008/09/05 14:18:55 michiel Exp $
  */
 public class MMBase extends ProcessorModule {
 
@@ -146,7 +146,7 @@
      * for each node in your cluster. This is not the machines dns name
      * (as defined by host as name or ip number).
      */
-    static String machineName = "unknown";
+    static String machineName = null;
 
     /**
      * The host or ip number of the machine this module is
@@ -764,7 +764,7 @@
     /**
      * Retrieves the machine name.
      * This value is set using the configuration file.
-     * @return the machine name as a <code>String</code>
+     * @return the machine name as a <code>String</code>. Or <code>null</code> 
if not yet determined.
      */
     public String getMachineName() {
         return machineName;


Index: MMBaseContext.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/module/core/MMBaseContext.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- MMBaseContext.java  5 Sep 2008 13:58:09 -0000       1.63
+++ MMBaseContext.java  5 Sep 2008 14:18:55 -0000       1.64
@@ -27,7 +27,7 @@
  * @author Daniel Ockeloen
  * @author David van Zeventer
  * @author Jaco de Groot
- * @version $Id: MMBaseContext.java,v 1.63 2008/09/05 13:58:09 michiel Exp $
+ * @version $Id: MMBaseContext.java,v 1.64 2008/09/05 14:18:55 michiel Exp $
  */
 public class MMBaseContext {
     private static final Logger log = 
Logging.getLoggerInstance(MMBaseContext.class);
@@ -393,7 +393,9 @@
     }
 
     /**
+     * Static version of [EMAIL PROTECTED] MMBase#getMachineName}
      * @since MMBase-1.8.7
+     * @return 'machine name' to identify this web app or <code>null</code> if 
not yet determined.
      */
     public static String getMachineName() {
         return MMBase.machineName;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to