You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2002/03/28 05:45:16 UTC
cvs commit: jakarta-turbine-maven/src/java/org/apache/maven/jxr DirectoryIndexer.java
jvanzyl 02/03/27 20:45:16
Modified: src/java/org/apache/maven/jxr DirectoryIndexer.java
Log:
We will just append ".java" as there is no real access to the original
suffix but this is for indexing java sources so I can live with the
hardcoded ".java" until this thing is rewritten using the java parser.
Revision Changes Path
1.8 +2 -2 jakarta-turbine-maven/src/java/org/apache/maven/jxr/DirectoryIndexer.java
Index: DirectoryIndexer.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/jxr/DirectoryIndexer.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- DirectoryIndexer.java 17 Mar 2002 00:12:15 -0000 1.7
+++ DirectoryIndexer.java 28 Mar 2002 04:45:16 -0000 1.8
@@ -73,7 +73,7 @@
* Handles building a directory index of files and directories.
*
* @author <a href="mailto:burton@apache.org">Kevin A. Burton</a>
- * @version $Id: DirectoryIndexer.java,v 1.7 2002/03/17 00:12:15 jvanzyl Exp $
+ * @version $Id: DirectoryIndexer.java,v 1.8 2002/03/28 04:45:16 jvanzyl Exp $
*/
public class DirectoryIndexer
{
@@ -341,7 +341,7 @@
if (end != -1)
{
- name = item.getName().substring(start, end);
+ name = item.getName().substring(start, end) + ".java";
}
image = IMAGE_FILE;
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>