commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r491654 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java
Date Mon, 01 Jan 2007 22:04:35 GMT
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


Mime
View raw message