removed @Override to keep javac on JDK 1.5 happy

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1488823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2013-06-03 01:05:28 +00:00
parent 2135b0741c
commit e3bbd87918

View File

@ -38,12 +38,10 @@ public class Complex extends Var2or3ArgFunction implements FreeRefFunction {
public static final String DEFAULT_SUFFIX = "i"; public static final String DEFAULT_SUFFIX = "i";
public static final String SUPPORTED_SUFFIX = "j"; public static final String SUPPORTED_SUFFIX = "j";
@Override
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval real_num, ValueEval i_num) { public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval real_num, ValueEval i_num) {
return this.evaluate(srcRowIndex, srcColumnIndex, real_num, i_num, new StringEval(DEFAULT_SUFFIX)); return this.evaluate(srcRowIndex, srcColumnIndex, real_num, i_num, new StringEval(DEFAULT_SUFFIX));
} }
@Override
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval real_num, ValueEval i_num, ValueEval suffix) { public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval real_num, ValueEval i_num, ValueEval suffix) {
ValueEval veText1; ValueEval veText1;
try { try {
@ -119,7 +117,6 @@ public class Complex extends Var2or3ArgFunction implements FreeRefFunction {
return (number == Math.floor(number)) && !Double.isInfinite(number); return (number == Math.floor(number)) && !Double.isInfinite(number);
} }
@Override
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {
if (args.length == 2) { if (args.length == 2) {
return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0], args[1]); return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0], args[1]);