tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r895422 - /tomcat/trunk/java/org/apache/jasper/JspC.java
Date Sun, 03 Jan 2010 15:42:58 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message