commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1197922 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
Date Sat, 05 Nov 2011 10:34:23 GMT
Author: simonetripodi
Date: Sat Nov  5 10:34:22 2011
New Revision: 1197922

URL: http://svn.apache.org/viewvc?rev=1197922&view=rev
Log:
classloaders assertion can be performed by verifying the references, no warranties about equality

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

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java?rev=1197922&r1=1197921&r2=1197922&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/binder/DigesterLoader.java
Sat Nov  5 10:34:22 2011
@@ -584,7 +584,7 @@ public final class DigesterLoader
      */
     public RuleSet createRuleSet()
     {
-        if ( !classLoader.equals( rulesBinder.getContextClassLoader() ) )
+        if ( classLoader != rulesBinder.getContextClassLoader() )
         {
             rulesBinder.initialize( classLoader );
             for ( RulesModule rulesModule : rulesModules )



Mime
View raw message