Don't use deprecated methods. Use recommended alternative.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 3 Jan 2010 15:42:57 +0000 (15:42 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 3 Jan 2010 15:42:57 +0000 (15:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895422 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/JspC.java

index fae2266..d9537ee 100644 (file)
@@ -1412,9 +1412,9 @@ public class JspC implements Options {
      protected File resolveFile(final String s) {
          if(getProject() == null) {
              // Note FileUtils.getFileUtils replaces FileUtils.newFileUtils in Ant 1.6.3
-             return FileUtils.newFileUtils().resolveFile(null, s);
+             return FileUtils.getFileUtils().resolveFile(null, s);
          } else {
-             return FileUtils.newFileUtils().resolveFile(getProject().getBaseDir(), s);
+             return FileUtils.getFileUtils().resolveFile(getProject().getBaseDir(), s);
          }
      }
 }