keep javac on JDK 1.5 happy

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1436819 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2013-01-22 09:35:39 +00:00
parent dec55b8ead
commit b8ed791e2c
1 changed files with 2 additions and 3 deletions

View File

@ -47,7 +47,7 @@ public final class LinearRegressionFunction extends Fixed2ArgFunction {
protected ValueArray(int size) {
_size = size;
}
@Override
public ValueEval getItem(int index) {
if (index < 0 || index > _size) {
throw new IllegalArgumentException("Specified index " + index
@ -56,7 +56,7 @@ public final class LinearRegressionFunction extends Fixed2ArgFunction {
return getItemInternal(index);
}
protected abstract ValueEval getItemInternal(int index);
@Override
public final int getSize() {
return _size;
}
@ -110,7 +110,6 @@ public final class LinearRegressionFunction extends Fixed2ArgFunction {
this.function = function;
}
@Override
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex,
ValueEval arg0, ValueEval arg1) {
double result;