commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1211676 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java
Date Wed, 07 Dec 2011 22:21:15 GMT
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
) ) );



Mime
View raw message