From f588bebd5c9190dacb4fece1b2143d5b9b900f46 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sat, 9 Feb 2002 23:34:16 +0000 Subject: [PATCH] Remove unused variables git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271256 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/org/apache/tools/ant/util/FileUtils.java | 5 ----- .../src/todo/org/apache/tools/ant/util/FileUtils.java | 5 ----- 2 files changed, 10 deletions(-) diff --git a/proposal/myrmidon/src/main/org/apache/tools/ant/util/FileUtils.java b/proposal/myrmidon/src/main/org/apache/tools/ant/util/FileUtils.java index d7cd24663..b0dd29b66 100644 --- a/proposal/myrmidon/src/main/org/apache/tools/ant/util/FileUtils.java +++ b/proposal/myrmidon/src/main/org/apache/tools/ant/util/FileUtils.java @@ -85,7 +85,6 @@ public class FileUtils BufferedReader in = new BufferedReader( new FileReader( sourceFile ) ); BufferedWriter out = new BufferedWriter( new FileWriter( destFile ) ); - int length; String newline = null; String line = in.readLine(); while( line != null ) @@ -398,10 +397,6 @@ public class FileUtils /** * Translates all occurrences of / or \ to correct separator of the current * platform and returns whether it had to do any replacements. - * - * @param buffer Description of Parameter - * @param pos Description of Parameter - * @return Description of the Returned Value */ public static void translateFileSep( StringBuffer buffer ) { diff --git a/proposal/myrmidon/src/todo/org/apache/tools/ant/util/FileUtils.java b/proposal/myrmidon/src/todo/org/apache/tools/ant/util/FileUtils.java index d7cd24663..b0dd29b66 100644 --- a/proposal/myrmidon/src/todo/org/apache/tools/ant/util/FileUtils.java +++ b/proposal/myrmidon/src/todo/org/apache/tools/ant/util/FileUtils.java @@ -85,7 +85,6 @@ public class FileUtils BufferedReader in = new BufferedReader( new FileReader( sourceFile ) ); BufferedWriter out = new BufferedWriter( new FileWriter( destFile ) ); - int length; String newline = null; String line = in.readLine(); while( line != null ) @@ -398,10 +397,6 @@ public class FileUtils /** * Translates all occurrences of / or \ to correct separator of the current * platform and returns whether it had to do any replacements. - * - * @param buffer Description of Parameter - * @param pos Description of Parameter - * @return Description of the Returned Value */ public static void translateFileSep( StringBuffer buffer ) {