tomcat-dev mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1240122&view=rev
Log:
Remove deprecated code

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=1240122&r1=1240121&r2=1240122&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:18:10 2012
@@ -14,11 +14,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.catalina.mbeans;
 
-
-import java.util.Hashtable;
 import java.util.Set;
 
 import javax.management.DynamicMBean;
@@ -555,27 +552,6 @@ public class MBeanUtils {
 
     }
 
-    /*
-     * @deprecated  Unused. Will be removed in Tomcat 8.0.x
-     */
-    @Deprecated
-    static final Hashtable<String,int[]> seq = new Hashtable<String,int[]>();
-    /*
-     * @deprecated  Unused. Will be removed in Tomcat 8.0.x
-     */
-    @Deprecated
-    static int getSeq( String key ) {
-        int i[]=seq.get( key );
-        if (i == null ) {
-            i=new int[1];
-            i[0]=0;
-            seq.put( key, i);
-        } else {
-            i[0]++;
-        }
-        return i[0];
-    }
-
     /**
      * Create and configure (if necessary) and return the registry of
      * managed object descriptions.



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


Mime
View raw message