cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r393777 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/StatusGenerator.java
Date Thu, 13 Apr 2006 10:00:24 GMT
Author: cziegeler
Date: Thu Apr 13 03:00:22 2006
New Revision: 393777

URL: http://svn.apache.org/viewcvs?rev=393777&view=rev
Log:
Correct name (remove leading /)

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/StatusGenerator.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/StatusGenerator.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/StatusGenerator.java?rev=393777&r1=393776&r2=393777&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/StatusGenerator.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/StatusGenerator.java
Thu Apr 13 03:00:22 2006
@@ -430,7 +430,7 @@
                 try {
                     for (Iterator i = kids.iterator(); i.hasNext(); ) {
                         final Source lib = (Source) i.next();
-                        final String name = lib.getURI().substring(lib.getURI().lastIndexOf('/'));
+                        final String name = lib.getURI().substring(lib.getURI().lastIndexOf('/')
+ 1);
                         files.add(name);
                     }
                 } finally {



Mime
View raw message