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:
Phil Steitz 2008-01-27 04:22:10 +00:00
parent 41eb3cb7b7
commit 6956f544e6
1 changed files with 2 additions and 2 deletions

View File

@ -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(