Removed JDK 1.5-dependent code.
JIRA: MATH-173 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
41eb3cb7b7
commit
6956f544e6
|
@ -132,9 +132,9 @@ public class OneWayAnovaImpl implements OneWayAnova {
|
|||
double[] array;
|
||||
try {
|
||||
array = (double[])iterator.next();
|
||||
} catch (Exception ex) {
|
||||
} catch (ClassCastException ex) {
|
||||
throw new IllegalArgumentException(
|
||||
"ANOVA: categoryData contains non-double[] elements.", ex);
|
||||
"ANOVA: categoryData contains non-double[] elements.");
|
||||
}
|
||||
if (array.length <= 1) {
|
||||
throw new IllegalArgumentException(
|
||||
|
|
Loading…
Reference in New Issue