commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1363103 - /commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/generic/DispatchLookupCommand.java
Date Wed, 18 Jul 2012 20:44:39 GMT
Author: simonetripodi
Date: Wed Jul 18 20:44:39 2012
New Revision: 1363103

URL: http://svn.apache.org/viewvc?rev=1363103&view=rev
Log:
removed unneeded 'else' branch

Modified:
    commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/generic/DispatchLookupCommand.java

Modified: commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/generic/DispatchLookupCommand.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/generic/DispatchLookupCommand.java?rev=1363103&r1=1363102&r2=1363103&view=diff
==============================================================================
--- commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/generic/DispatchLookupCommand.java
(original)
+++ commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/generic/DispatchLookupCommand.java
Wed Jul 18 20:44:39 2012
@@ -162,9 +162,8 @@ public class DispatchLookupCommand<K, V,
                 Throwable cause = e.getTargetException();
                 throw new DispatchException("Error in reflected dispatched command", cause,
context, this);
             }
-        } else {
-            return false;
         }
+        return false;
     }
 
     // ------------------------------------------------------ Protected Methods



Mime
View raw message