Author: markt
Date: Sun Jan  3 15:42:57 2010
New Revision: 895422

URL: http://svn.apache.org/viewvc?rev=895422&view=rev
Log:
Don't use deprecated methods. Use recommended alternative.

Modified:
    tomcat/trunk/java/org/apache/jasper/JspC.java

Modified: tomcat/trunk/java/org/apache/jasper/JspC.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/JspC.java?rev=895422&r1=895421&r2=895422&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/JspC.java (original)
+++ tomcat/trunk/java/org/apache/jasper/JspC.java Sun Jan  3 15:42:57 2010
@@ -1412,9 +1412,9 @@
      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);
          }
      }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to