Browse Source

Remove use of 1.4 method

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277841 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
1ddfcdb08e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/main/org/apache/tools/ant/filters/FixCrLfFilter.java

+ 2
- 1
src/main/org/apache/tools/ant/filters/FixCrLfFilter.java View File

@@ -24,6 +24,7 @@ import java.io.ObjectStreamException;
import java.io.Reader;
import java.io.Writer;
import java.util.NoSuchElementException;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.taskdefs.condition.Os;
import org.apache.tools.ant.types.EnumeratedAttribute;

@@ -139,7 +140,7 @@ public final class FixCrLfFilter

return newFilter;
} catch (IOException e) {
throw new RuntimeException(e);
throw new BuildException(e);
}
}



Loading…
Cancel
Save