You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/12/07 23:21:15 UTC

svn commit: r1211676 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java

Author: simonetripodi
Date: Wed Dec  7 22:21:15 2011
New Revision: 1211676

URL: http://svn.apache.org/viewvc?rev=1211676&view=rev
Log:
fixed findbugs issue: string format wants 2 arguments but is given 3 in 

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java?rev=1211676&r1=1211675&r2=1211676&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java (original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java Wed Dec  7 22:21:15 2011
@@ -367,7 +367,7 @@ public class ObjectCreateRule
 
                         if ( constructor == null )
                         {
-                            throw new SAXException( format( "[ObjectCreateRule]{%s} Class '%s' does not have a construcor with types",
+                            throw new SAXException( format( "[ObjectCreateRule]{%s} Class '%s' does not have a construcor with types %s",
                                                             getDigester().getMatch(),
                                                             clazz.getName(),
                                                             Arrays.toString( constructorArgumentTypes ) ) );