Author: markt
Date: Sun Oct 24 13:10:31 2010
New Revision: 1026788
URL: http://svn.apache.org/viewvc?rev=1026788&view=rev
Log:
Allow Checkstyle's unused imports test to be used with the o.a.catalina.mbeans
package
Modified:
tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java
Modified: tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java?rev=1026788&r1=1026787&r2=1026788&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/MBeanFactory.java Sun Oct 24
13:10:31 2010
@@ -19,10 +19,8 @@ package org.apache.catalina.mbeans;
import java.io.File;
-import javax.management.MBeanException;
import javax.management.MBeanServer;
import javax.management.ObjectName;
-import javax.management.RuntimeOperationsException;
import org.apache.catalina.Context;
import org.apache.catalina.Engine;
@@ -78,10 +76,10 @@ public class MBeanFactory {
* Construct a <code>ModelMBean</code> with default
* <code>ModelMBeanInfo</code> information.
*
- * @exception MBeanException if the initializer of an object
- * throws an exception
- * @exception RuntimeOperationsException if an IllegalArgumentException
- * occurs
+ * @exception javax.management.MBeanException if the initializer of an
+ * object throws an exception
+ * @exception javax.management.RuntimeOperationsException if an
+ * IllegalArgumentException occurs
*/
public MBeanFactory() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]