Author: markt
Date: Fri Aug 7 12:24:54 2009
New Revision: 801967
URL: http://svn.apache.org/viewvc?rev=801967&view=rev
Log:
Fix some Eclipse warnings. Could remove the unused parameters but that would
break the pattern of method signatures
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=801967&r1=801966&r2=801967&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/MBeanUtils.java Fri Aug 7
12:24:54 2009
@@ -54,8 +54,6 @@
import org.apache.coyote.http11.Http11AprProtocol;
import org.apache.coyote.http11.Http11NioProtocol;
import org.apache.coyote.http11.Http11Protocol;
-import org.apache.juli.logging.Log;
-import org.apache.juli.logging.LogFactory;
import org.apache.tomcat.util.IntrospectionUtils;
import org.apache.tomcat.util.modeler.ManagedBean;
import org.apache.tomcat.util.modeler.Registry;
@@ -70,11 +68,9 @@
*/
public class MBeanUtils {
- private static Log log = LogFactory.getLog(MBeanUtils.class);
// ------------------------------------------------------- Static Variables
-
/**
* The set of exceptions to the normal rules used by
* <code>createManagedBean()</code>. The first element of each pair
@@ -633,7 +629,7 @@
* @exception MalformedObjectNameException if a name cannot be created
*/
static ObjectName createObjectName(String domain,
- Engine engine)
+ @SuppressWarnings("unused") Engine engine)
throws MalformedObjectNameException {
ObjectName name = null;
@@ -801,7 +797,7 @@
* @exception MalformedObjectNameException if a name cannot be created
*/
static ObjectName createObjectName(String domain,
- MBeanFactory factory)
+ @SuppressWarnings("unused") MBeanFactory factory)
throws MalformedObjectNameException {
ObjectName name = new ObjectName(domain + ":type=MBeanFactory");
@@ -879,7 +875,7 @@
* @exception MalformedObjectNameException if a name cannot be created
*/
static ObjectName createObjectName(String domain,
- Server server)
+ @SuppressWarnings("unused") Server server)
throws MalformedObjectNameException {
ObjectName name = null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]