Update of /var/cvs/speeltuin/andre/mmsite/src/org/mmbase/mmsite
In directory james.mmbase.org:/tmp/cvs-serv15947/src/org/mmbase/mmsite
Modified Files:
SiteUrlConverter.java UrlUtils.java
Log Message:
method not needed
See also:
http://cvs.mmbase.org/viewcvs/speeltuin/andre/mmsite/src/org/mmbase/mmsite
Index: SiteUrlConverter.java
===================================================================
RCS file:
/var/cvs/speeltuin/andre/mmsite/src/org/mmbase/mmsite/SiteUrlConverter.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- SiteUrlConverter.java 17 Apr 2009 13:48:59 -0000 1.3
+++ SiteUrlConverter.java 20 Apr 2009 11:49:34 -0000 1.4
@@ -31,7 +31,7 @@
* </urlconverter>
*
* @author André van Toly
- * @version $Id: SiteUrlConverter.java,v 1.3 2009/04/17 13:48:59 andre Exp $
+ * @version $Id: SiteUrlConverter.java,v 1.4 2009/04/20 11:49:34 andre Exp $
* @since MMBase-1.9
*/
public class SiteUrlConverter extends DirectoryUrlConverter {
@@ -135,6 +135,4 @@
}
-
-
}
Index: UrlUtils.java
===================================================================
RCS file: /var/cvs/speeltuin/andre/mmsite/src/org/mmbase/mmsite/UrlUtils.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- UrlUtils.java 17 Apr 2009 14:50:13 -0000 1.2
+++ UrlUtils.java 20 Apr 2009 11:49:34 -0000 1.3
@@ -25,18 +25,6 @@
private static final Logger log =
Logging.getLoggerInstance(UrlUtils.class);
/**
- * Nodes from this page to the root page (homepage).
- *
- * @param node A node of type 'page' with field 'path'
- * @return list with all the nodes leading to the homepage, excluding
this node.
- */
- public static NodeList listPages2Root(Node node) {
- Cloud cloud = node.getCloud();
- NodeManager nm = cloud.getNodeManager("pages");
- return listNodes2Root(node, nm);
- }
-
- /**
* Nodes starting form this node to the root, these require a field
'path'.
*
* @param node A node of some type with a field 'path'
@@ -66,10 +54,10 @@
/**
* 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.
+ * The parent of a node with path '/news/article/some' is the one
+ * with '/news/article', then '/news' and last the homepage '/'.
*
- * @param node A node of some type with 'path' like '/news/article'
+ * @param node A node of certain type with field path
* @return nodes leading to homepage/root of the site
*/
protected static NodeList listNodes2Root(Node node, NodeManager nm) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs