From: James William Dumay Date: Thu, 12 Jun 2008 05:02:24 +0000 (+0000) Subject: Removed redundant argument from writeHyperlink X-Git-Tag: archiva-r676265~59 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=451c614468007ea818b5c0d54f96006ccee7c496;p=archiva.git Removed redundant argument from writeHyperlink git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@666953 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/util/IndexWriter.java b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/util/IndexWriter.java index ec4c10fcb..38451baa7 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/util/IndexWriter.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/maven/archiva/webdav/util/IndexWriter.java @@ -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) {