]> source.dussan.org Git - archiva.git/commitdiff
Removed redundant argument from writeHyperlink
authorJames William Dumay <jdumay@apache.org>
Thu, 12 Jun 2008 05:02:24 +0000 (05:02 +0000)
committerJames William Dumay <jdumay@apache.org>
Thu, 12 Jun 2008 05:02:24 +0000 (05:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@666953 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/util/IndexWriter.java

index ec4c10fcbb05f1ff73536bad67b0286bd9d1dab4..38451baa7a28e1d9d379c57504865803f2ab8364 100644 (file)
@@ -119,7 +119,7 @@ public class IndexWriter
                 
                 for ( File file : files )
                 {
-                    writeHyperlink( writer, file.getName(), file.isDirectory(), false );
+                    writeHyperlink( writer, file.getName(), file.isDirectory() );
                 }
             }
         }
@@ -145,12 +145,12 @@ public class IndexWriter
             Collections.sort( sortedList );
             for ( String fileName : sortedList )
             {
-                writeHyperlink( writer, fileName, ( (File) uniqueChildFiles.get( fileName ) ).isDirectory(), true );
+                writeHyperlink( writer, fileName, ( (File) uniqueChildFiles.get( fileName ) ).isDirectory());
             }
         }
     }
 
-    private void writeHyperlink(PrintWriter writer, String resourceName, boolean directory, boolean isBrowse )
+    private void writeHyperlink(PrintWriter writer, String resourceName, boolean directory )
     {        
         if (directory)
         {