commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1197904&view=rev
Log:
no needs to check if the ErrorHandler is null, Digester already checks if the set instance
is not null

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=1197904&r1=1197903&r2=1197904&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 09:05:23 2011
@@ -516,11 +516,7 @@ public final class DigesterLoader
         digester.setStackAction( stackAction );
         digester.setNamespaceAware( isNamespaceAware() );
         digester.setExecutorService( executorService );
-
-        if ( errorHandler != null )
-        {
-            digester.setErrorHandler( errorHandler );
-        }
+        digester.setErrorHandler( errorHandler );
 
         addRules( digester );
 



Mime
View raw message