You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/03/03 13:04:25 UTC

svn commit: r382777 - /lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java

Author: thorsten
Date: Fri Mar  3 04:04:23 2006
New Revision: 382777

URL: http://svn.apache.org/viewcvs?rev=382777&view=rev
Log:
Updated comment to refer to the top level instead of topLevel/content

Modified:
    lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java

Modified: lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java?rev=382777&r1=382776&r2=382777&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/repository/SourceNode.java Fri Mar  3 04:04:23 2006
@@ -110,7 +110,7 @@
             // Default
             realSourceURI = CONTEXT_PREFIX + urlID;
         } else {
-            // Substitute "lenya://lenya/pubs/PUB_ID/content" by "contentDir"
+            // Substitute e.g. "lenya://lenya/pubs/PUB_ID/content" by "contentDir/content"
             String filePrefix = urlID.substring(0,urlID.indexOf(publicationId))+publicationId;
             String tempString = urlID.substring(filePrefix.length()+1);
             String fileMiddle= tempString.substring(0,tempString.indexOf("/"));



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org