ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: svn commit: r350258 - /ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java
Date Thu, 01 Dec 2005 21:06:45 GMT
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


Mime
View raw message