Update of /var/cvs/speeltuin/andre/mmsite/src/org/mmbase/mmsite
In directory james.mmbase.org:/tmp/cvs-serv18226/src/org/mmbase/mmsite

Modified Files:
        UrlUtils.java 
Log Message:
doc


See also: 
http://cvs.mmbase.org/viewcvs/speeltuin/andre/mmsite/src/org/mmbase/mmsite


Index: UrlUtils.java
===================================================================
RCS file: /var/cvs/speeltuin/andre/mmsite/src/org/mmbase/mmsite/UrlUtils.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- UrlUtils.java       11 Feb 2009 21:06:13 -0000      1.1
+++ UrlUtils.java       17 Apr 2009 14:50:13 -0000      1.2
@@ -37,9 +37,9 @@
        }
        
        /**
-        * Nodes from here to root.
+        * Nodes starting form this node to the root, these require a field 
'path'.
         *
-        * @param  node A node of soem type with a field 'path'
+        * @param  node A node of some type with a field 'path'
         * @return list with all the nodes leading to the homepage excluding 
this node.
         */
        public static NodeList listNodes2Root(Node node) {
@@ -48,7 +48,7 @@
        }
 
        /**
-        * Retrieve a pages node by the content of its path field.
+        * Retrieve a pages node with a certain path.
         *
         * @param   cloud   MMBase cloud
         * @param   path    Value of field path, f.e. '/news/new'
@@ -65,11 +65,11 @@
        }
        
        /**
-        * Nodes from here to the root. It examines the field 'path'.
+        * Nodes from here to the root while examining the field 'path'.
         * The parent of a node with '/news/article/some is the one 
         * with path '/news/article' etc.
         *
-        * @param  node A node of some type with a field 'path'
+        * @param  node A node of some type with 'path' like '/news/article'
         * @return nodes leading to homepage/root of the site
         */
        protected static NodeList listNodes2Root(Node node, NodeManager nm) {
@@ -104,7 +104,7 @@
        }
 
        /**
-        * Is the link to an external site or not.
+        * Does this url link to an external site or not.
         *
         * @param  req HttpServletRequest
         * @param  url Some link
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to