tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1238072 - /tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java
Date Mon, 30 Jan 2012 23:08:28 GMT
Author: markt
Date: Mon Jan 30 23:08:28 2012
New Revision: 1238072

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

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java?rev=1238072&r1=1238071&r2=1238072&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/modeler/Registry.java Mon Jan 30 23:08:28 2012
@@ -635,7 +635,7 @@ public class Registry implements Registr
                 type=bean.getClass().getName();
             }
 
-            ManagedBean managed = findManagedBean(bean.getClass(), type);
+            ManagedBean managed = findManagedBean(null, bean.getClass(), type);
 
             // The real mbean is created and registered
             DynamicMBean mbean = managed.createMBean(bean);
@@ -756,19 +756,4 @@ public class Registry implements Registr
     @Override
     public void postDeregister() {
     }
-
-
-    // -------------------- DEPRECATED METHODS  --------------------
-    // May still be used in tomcat
-    // Never part of an official release
-
-    /**
-     * @deprecated
-     */
-    @Deprecated
-    public ManagedBean findManagedBean(Class<?> beanClass, String type)
-        throws Exception
-    {
-        return findManagedBean(null, beanClass, type);
-    }
 }



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


Mime
View raw message