tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1240103 - /tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java
Date Fri, 03 Feb 2012 12:07:04 GMT
Author: markt
Date: Fri Feb  3 12:07:04 2012
New Revision: 1240103

URL: http://svn.apache.org/viewvc?rev=1240103&view=rev
Log:
Use final

Modified:
    tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java

Modified: tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java?rev=1240103&r1=1240102&r2=1240103&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java Fri Feb  3 12:07:04 2012
@@ -79,7 +79,7 @@ public class MBeanUtils {
      * <code>createManagedBean()</code>.  The first element of each pair
      * is a class name, and the second element is the managed bean name.
      */
-    private static String exceptions[][] = {
+    private static final String exceptions[][] = {
         { "org.apache.catalina.users.MemoryGroup",
           "Group" },
         { "org.apache.catalina.users.MemoryRole",
@@ -908,7 +908,7 @@ public class MBeanUtils {
 
     }
 
-    static Hashtable<String,int[]> seq = new Hashtable<String,int[]>();
+    static final Hashtable<String,int[]> seq = new Hashtable<String,int[]>();
     static int getSeq( String key ) {
         int i[]=seq.get( key );
         if (i == null ) {



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


Mime
View raw message