commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1102575 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java
Date Fri, 13 May 2011 06:30:20 GMT
Author: simonetripodi
Date: Fri May 13 06:30:19 2011
New Revision: 1102575

URL: http://svn.apache.org/viewvc?rev=1102575&view=rev
Log:
re-entry error happens when the rulesBinder instance was already set

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

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java?rev=1102575&r1=1102574&r2=1102575&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/binder/AbstractRulesModule.java
Fri May 13 06:30:19 2011
@@ -33,7 +33,7 @@ public abstract class AbstractRulesModul
      */
     public final void configure( RulesBinder rulesBinder )
     {
-        if ( this.rulesBinder == null )
+        if ( this.rulesBinder != null )
         {
             throw new IllegalStateException( "Re-entry is not allowed." );
         }



Mime
View raw message