Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 27348 invoked from network); 3 Jan 2010 15:43:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jan 2010 15:43:22 -0000 Received: (qmail 96214 invoked by uid 500); 3 Jan 2010 15:43:21 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 96109 invoked by uid 500); 3 Jan 2010 15:43:21 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 96097 invoked by uid 99); 3 Jan 2010 15:43:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 15:43:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 15:43:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7EA4F23888E7; Sun, 3 Jan 2010 15:42:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r895422 - /tomcat/trunk/java/org/apache/jasper/JspC.java Date: Sun, 03 Jan 2010 15:42:58 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100103154258.7EA4F23888E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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