You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jk...@apache.org on 2005/12/01 15:31:15 UTC

svn commit: r350258 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

Author: jkf
Date: Thu Dec  1 06:31:09 2005
New Revision: 350258

URL: http://svn.apache.org/viewcvs?rev=350258&view=rev
Log:
Fix import / removed unused variables

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java?rev=350258&r1=350257&r2=350258&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java Thu Dec  1 06:31:09 2005
@@ -21,6 +21,7 @@
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.Reader;
+import java.io.UnsupportedEncodingException;
 import java.io.Writer;
 import java.io.OutputStream;
 import java.net.MalformedURLException;
@@ -1010,7 +1011,6 @@
         StringBuffer sb = new StringBuffer("file:");
 
         path = resolveFile(null, path).getPath();
-        int len = path.length(), ch;
         sb.append("//");
         // add an extra slash for filesystems with drive-specifiers
         if (!path.startsWith(File.separator)) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: svn commit: r350258 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Thanks Martijn.  :-)

Cheers,

Antoine

jkf@apache.org wrote:

>Author: jkf
>Date: Thu Dec  1 06:31:09 2005
>New Revision: 350258
>
>URL: http://svn.apache.org/viewcvs?rev=350258&view=rev
>Log:
>Fix import / removed unused variables
>
>Modified:
>    ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java
>
>Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java
>URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java?rev=350258&r1=350257&r2=350258&view=diff
>==============================================================================
>--- ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java (original)
>+++ ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java Thu Dec  1 06:31:09 2005
>@@ -21,6 +21,7 @@
> import java.io.IOException;
> import java.io.InputStream;
> import java.io.Reader;
>+import java.io.UnsupportedEncodingException;
> import java.io.Writer;
> import java.io.OutputStream;
> import java.net.MalformedURLException;
>@@ -1010,7 +1011,6 @@
>         StringBuffer sb = new StringBuffer("file:");
> 
>         path = resolveFile(null, path).getPath();
>-        int len = path.length(), ch;
>         sb.append("//");
>         // add an extra slash for filesystems with drive-specifiers
>         if (!path.startsWith(File.separator)) {
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org