From 64e1adfce5acc678cf07574d2dc60930810038ea Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 3 Jan 2010 15:42:57 +0000 Subject: [PATCH] Don't use deprecated methods. Use recommended alternative. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@895422 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/jasper/JspC.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/jasper/JspC.java b/java/org/apache/jasper/JspC.java index fae2266cd..d9537eeab 100644 --- a/java/org/apache/jasper/JspC.java +++ b/java/org/apache/jasper/JspC.java @@ -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); } } } -- 2.11.0