cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r393778 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/generation/StatusGenerator.java
Date Thu, 13 Apr 2006 10:10:25 GMT
Author: cziegeler
Date: Thu Apr 13 03:10:17 2006
New Revision: 393778

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

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/generation/StatusGenerator.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/generation/StatusGenerator.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/generation/StatusGenerator.java?rev=393778&r1=393777&r2=393778&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/generation/StatusGenerator.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/generation/StatusGenerator.java
Thu Apr 13 03:10:17 2006
@@ -537,7 +537,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