Browse Source

Fix import / removed unused variables

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@350258 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 19 years ago
parent
commit
58b30633ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/util/FileUtils.java

+ 1
- 1
src/main/org/apache/tools/ant/util/FileUtils.java View File

@@ -21,6 +21,7 @@ import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.Reader; import java.io.Reader;
import java.io.UnsupportedEncodingException;
import java.io.Writer; import java.io.Writer;
import java.io.OutputStream; import java.io.OutputStream;
import java.net.MalformedURLException; import java.net.MalformedURLException;
@@ -1010,7 +1011,6 @@ public class FileUtils {
StringBuffer sb = new StringBuffer("file:"); StringBuffer sb = new StringBuffer("file:");


path = resolveFile(null, path).getPath(); path = resolveFile(null, path).getPath();
int len = path.length(), ch;
sb.append("//"); sb.append("//");
// add an extra slash for filesystems with drive-specifiers // add an extra slash for filesystems with drive-specifiers
if (!path.startsWith(File.separator)) { if (!path.startsWith(File.separator)) {


Loading…
Cancel
Save