From: fhanik Date: Mon, 23 Oct 2006 17:18:17 +0000 (+0000) Subject: fixed compiler warnings X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f83d8881e896f346cf18d37d75ef8750436c9149;p=tomcat7.0 fixed compiler warnings git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467033 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/startup/ClusterRuleSetFactory.java b/java/org/apache/catalina/startup/ClusterRuleSetFactory.java index 1011080f1..f3589f37a 100644 --- a/java/org/apache/catalina/startup/ClusterRuleSetFactory.java +++ b/java/org/apache/catalina/startup/ClusterRuleSetFactory.java @@ -76,7 +76,7 @@ public class ClusterRuleSetFactory { InvocationTargetException { Class clazz = Class.forName(className,true,cl); Constructor cons = clazz.getConstructor(new Class[] {String.class}); - return (RuleSetBase)cons.newInstance(new String[] {prefix}); + return (RuleSetBase)cons.newInstance(prefix); } /**