From b8ed791e2c520bece430e3016d14f742ce2dea2a Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Tue, 22 Jan 2013 09:35:39 +0000 Subject: [PATCH] keep javac on JDK 1.5 happy git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1436819 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/ss/formula/functions/LinearRegressionFunction.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/poi/ss/formula/functions/LinearRegressionFunction.java b/src/java/org/apache/poi/ss/formula/functions/LinearRegressionFunction.java index 740fd05071..a676f5b347 100644 --- a/src/java/org/apache/poi/ss/formula/functions/LinearRegressionFunction.java +++ b/src/java/org/apache/poi/ss/formula/functions/LinearRegressionFunction.java @@ -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;