From 451c614468007ea818b5c0d54f96006ccee7c496 Mon Sep 17 00:00:00 2001 From: James William Dumay Date: Thu, 12 Jun 2008 05:02:24 +0000 Subject: [PATCH] Removed redundant argument from writeHyperlink git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@666953 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/archiva/webdav/util/IndexWriter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.39.5