You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2014/06/22 21:09:21 UTC
svn commit: r1604642 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/stat/descriptive/rank/Percentile.java
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;