diff options
author | Javen O'Neal <onealj@apache.org> | 2016-10-19 21:52:31 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2016-10-19 21:52:31 +0000 |
commit | 99125ee19173959d42553f78c9ea936648f904b8 (patch) | |
tree | f5250e86fe41b26e92a6b26b6066dff811a484fd /src/excelant/java/org/apache | |
parent | 9eef74edd1d49ef6b7245faa938c817a7fda2967 (diff) | |
download | poi-99125ee19173959d42553f78c9ea936648f904b8.tar.gz poi-99125ee19173959d42553f78c9ea936648f904b8.zip |
Eclipse automated refactor/cleanup: add missing @Override and @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765726 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/excelant/java/org/apache')
7 files changed, 13 insertions, 6 deletions
diff --git a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntEvaluateCell.java b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntEvaluateCell.java index 55e51975fe..bf13348485 100644 --- a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntEvaluateCell.java +++ b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntEvaluateCell.java @@ -102,7 +102,8 @@ public class ExcelAntEvaluateCell extends Task { return precisionToUse; } - public void execute() throws BuildException { + @Override + public void execute() throws BuildException { precisionToUse = 0 ; diff --git a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntHandlerTask.java b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntHandlerTask.java index eaf04007ce..35f5420f01 100644 --- a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntHandlerTask.java +++ b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntHandlerTask.java @@ -58,6 +58,7 @@ public class ExcelAntHandlerTask extends Task { wbUtil = wkbkUtil ;
}
+ @Override
public void execute() throws BuildException {
log( "handling the workbook with class " + className, Project.MSG_INFO ) ;
try {
diff --git a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetDoubleCell.java b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetDoubleCell.java index 3e6c4cd607..2451a61e68 100644 --- a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetDoubleCell.java +++ b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetDoubleCell.java @@ -50,7 +50,8 @@ public class ExcelAntSetDoubleCell extends ExcelAntSet { return cellValue; } - public void execute() throws BuildException { + @Override + public void execute() throws BuildException { wbUtil.setDoubleValue(cellStr, cellValue ) ; log( "set cell " + cellStr + " to value " + cellValue + " as double.", Project.MSG_DEBUG ) ; diff --git a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetFormulaCell.java b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetFormulaCell.java index 1b9d5f0539..8dc599b104 100644 --- a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetFormulaCell.java +++ b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetFormulaCell.java @@ -43,7 +43,8 @@ public class ExcelAntSetFormulaCell extends ExcelAntSet { return cellValue; } - public void execute() throws BuildException { + @Override + public void execute() throws BuildException { wbUtil.setFormulaValue( cellStr, cellValue ) ; diff --git a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetStringCell.java b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetStringCell.java index 047e544ea5..e1ab047fbf 100644 --- a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetStringCell.java +++ b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntSetStringCell.java @@ -50,7 +50,8 @@ public class ExcelAntSetStringCell extends ExcelAntSet { return stringValue; } - public void execute() throws BuildException { + @Override + public void execute() throws BuildException { wbUtil.setStringValue(cellStr, stringValue ) ; log( "set cell " + cellStr + " to value " + stringValue + " as String.", Project.MSG_DEBUG ) ; diff --git a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java index 13271611b1..47ee3124a7 100644 --- a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java +++ b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTask.java @@ -78,7 +78,8 @@ public class ExcelAntTask extends Task { functions.add( def ) ; } - public void execute() throws BuildException { + @Override + public void execute() throws BuildException { checkClassPath(); int totalCount = 0 ; diff --git a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTest.java b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTest.java index 36b9b6d9e0..fd8f930919 100644 --- a/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTest.java +++ b/src/excelant/java/org/apache/poi/ss/excelant/ExcelAntTest.java @@ -124,7 +124,8 @@ public class ExcelAntTest extends Task{ return evaluators; } - public void execute() throws BuildException { + @Override + public void execute() throws BuildException { Iterator<Task> taskIt = testTasks.iterator(); |