Author: ggregory
Date: Wed Mar 13 11:41:02 2013
New Revision: 1455893

URL: http://svn.apache.org/r1455893
Log:
Remove useless parentheses (PMD).

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

Modified: 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java?rev=1455893&r1=1455892&r2=1455893&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java
 (original)
+++ 
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java
 Wed Mar 13 11:41:02 2013
@@ -339,7 +339,7 @@ public class DurationFormatUtils {
                     target -= 1;
                 }
                 
-                while ( (start.get(Calendar.YEAR) != target)) {
+                while (start.get(Calendar.YEAR) != target) {
                     days += start.getActualMaximum(Calendar.DAY_OF_YEAR) - 
start.get(Calendar.DAY_OF_YEAR);
                     
                     // Not sure I grok why this is needed, but the brutal 
tests show it is


Reply via email to