Author: markt
Date: Wed Sep 12 14:10:41 2012
New Revision: 1383951
URL: http://svn.apache.org/viewvc?rev=1383951&view=rev
Log:
Remove unused code
Modified:
tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java
Modified:
tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java?rev=1383951&r1=1383950&r2=1383951&view=diff
==============================================================================
---
tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
(original)
+++
tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
Wed Sep 12 14:10:41 2012
@@ -38,7 +38,6 @@ public class MbeansDescriptorsDigesterSo
LogFactory.getLog(MbeansDescriptorsDigesterSource.class);
private Registry registry;
- private String type;
private final List<ObjectName> mbeans = new ArrayList<>();
private static volatile Digester digester = null;
@@ -137,14 +136,6 @@ public class MbeansDescriptorsDigesterSo
}
- /** Used if a single component is loaded
- *
- * @param type
- */
- public void setType( String type ) {
- this.type=type;
- }
-
public void setSource( Object source ) {
this.source=source;
}
@@ -153,7 +144,6 @@ public class MbeansDescriptorsDigesterSo
public List<ObjectName> loadDescriptors( Registry registry, String type,
Object source) throws Exception {
setRegistry(registry);
- setType(type);
setSource(source);
execute();
return mbeans;
Modified:
tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java?rev=1383951&r1=1383950&r2=1383951&view=diff
==============================================================================
---
tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java
(original)
+++
tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java
Wed Sep 12 14:10:41 2012
@@ -34,21 +34,12 @@ public class MbeansDescriptorsSerSource
{
private static final Log log =
LogFactory.getLog(MbeansDescriptorsSerSource.class);
private Registry registry;
- private String type;
private final List<ObjectName> mbeans=new ArrayList<>();
public void setRegistry(Registry reg) {
this.registry=reg;
}
- /** Used if a single component is loaded
- *
- * @param type
- */
- public void setType( String type ) {
- this.type=type;
- }
-
public void setSource( Object source ) {
this.source=source;
}
@@ -57,7 +48,6 @@ public class MbeansDescriptorsSerSource
public List<ObjectName> loadDescriptors( Registry registry, String type,
Object source) throws Exception {
setRegistry(registry);
- setType(type);
setSource(source);
execute();
return mbeans;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]