commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1363114 - /commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ChainBase.java
Date Wed, 18 Jul 2012 21:02:02 GMT
Author: simonetripodi
Date: Wed Jul 18 21:02:01 2012
New Revision: 1363114

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

Modified:
    commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ChainBase.java

Modified: commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ChainBase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ChainBase.java?rev=1363114&r1=1363113&r2=1363114&view=diff
==============================================================================
--- commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ChainBase.java
(original)
+++ commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/ChainBase.java
Wed Jul 18 21:02:01 2012
@@ -203,9 +203,8 @@ public class ChainBase<K, V, C extends M
             // Wrap and rethrow exception
             throw wrapUnhandledExceptions(saveException, context,
                     lastCommand);
-        } else {
-            return (saveResult);
         }
+        return (saveResult);
     }
 
     /**



Mime
View raw message