tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1360840 - in /tomcat/trunk/java/org/apache/catalina/ant: AbstractCatalinaTask.java BaseRedirectorHelperTask.java
Date Thu, 12 Jul 2012 18:12:37 GMT
Author: markt
Date: Thu Jul 12 18:12:36 2012
New Revision: 1360840

URL: http://svn.apache.org/viewvc?rev=1360840&view=rev
Log:
Code clean-up for o.a.catalina.ant
 - Add final prompted by UCDetector
 - Java 7 use of <>

Modified:
    tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java
    tomcat/trunk/java/org/apache/catalina/ant/BaseRedirectorHelperTask.java

Modified: tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java?rev=1360840&r1=1360839&r2=1360840&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java Thu Jul 12 18:12:36
2012
@@ -52,7 +52,7 @@ public abstract class AbstractCatalinaTa
     /**
      * manager webapp's encoding.
      */
-    private static String CHARSET = "utf-8";
+    private static final String CHARSET = "utf-8";
 
 
     // ------------------------------------------------------------- Properties

Modified: tomcat/trunk/java/org/apache/catalina/ant/BaseRedirectorHelperTask.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ant/BaseRedirectorHelperTask.java?rev=1360840&r1=1360839&r2=1360840&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ant/BaseRedirectorHelperTask.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ant/BaseRedirectorHelperTask.java Thu Jul 12 18:12:36
2012
@@ -56,7 +56,7 @@ public abstract class BaseRedirectorHelp
     // ------------------------------------------------------------- Properties
 
     /** Redirector helper */
-    protected Redirector redirector = new Redirector(this);
+    protected final Redirector redirector = new Redirector(this);
     //protected Redirector redirector = null;
     /** Redirector element for this task */
     protected RedirectorElement redirectorElement = null;



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


Mime
View raw message