You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gg...@apache.org on 2007/01/01 23:04:35 UTC

svn commit: r491654 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java

Author: ggregory
Date: Mon Jan  1 14:04:34 2007
New Revision: 491654

URL: http://svn.apache.org/viewvc?view=rev&rev=491654
Log:
Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally.

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java?view=diff&rev=491654&r1=491653&r2=491654
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java (original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java Mon Jan  1 14:04:34 2007
@@ -637,9 +637,8 @@
                 } else {
                     return this.value == tok2.value;
                 }
-            } else {
-                return false;
             }
+            return false;
         }
 
         /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org