commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1604642 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/rank/Percentile.java
Date Sun, 22 Jun 2014 19:09:21 GMT
Author: erans
Date: Sun Jun 22 19:09:21 2014
New Revision: 1604642

URL: http://svn.apache.org/r1604642
Log:
Unnecessary brackets.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/rank/Percentile.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/rank/Percentile.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/rank/Percentile.java?rev=1604642&r1=1604641&r2=1604642&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/rank/Percentile.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/rank/Percentile.java
Sun Jun 22 19:09:21 2014
@@ -445,11 +445,10 @@ public class Percentile extends Abstract
             case REMOVED:// Drop NaNs from data
                 work = removeAndSlice(values, begin, length, Double.NaN);
                 break;
-            case FAILED:{// just throw exception as NaN is un-acceptable
+            case FAILED:// just throw exception as NaN is un-acceptable
                 checkNotANumber(values, begin, length);
                 work = copyOf(values, begin, length);
                 break;
-            }
             default: //FIXED
                 work = copyOf(values,begin,length);
                 break;



Mime
View raw message