commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1066025 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
Date Tue, 01 Feb 2011 12:20:55 GMT
Author: simonetripodi
Date: Tue Feb  1 12:20:55 2011
New Revision: 1066025

URL: http://svn.apache.org/viewvc?rev=1066025&view=rev
Log:
fixed error message format on extractingValueFromAttribute()

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java?rev=1066025&r1=1066024&r2=1066025&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/RulesBinderImpl.java
Tue Feb  1 12:20:55 2011
@@ -218,7 +218,7 @@ final class RulesBinderImpl implements R
 
                     public SetPropertyBuilder extractingValueFromAttribute(String valueAttributeName)
{
                         if (attributePropertyName == null || attributePropertyName.length()
== 0) {
-                            addError("{forPattern(\"%s\").setProperty(\"%s\")} empty 'valueAttributeName'
not allowed",
+                            addError("{forPattern(\"%s\").setProperty(\"%s\").extractingValueFromAttribute(String)}
empty 'valueAttributeName' not allowed",
                                     keyPattern,
                                     attributePropertyName);
                         }



Mime
View raw message