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 7cde4a3ea7
commit c5e81c11e7

View File

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