aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf/eventusermodel
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-10-19 21:52:31 +0000
committerJaven O'Neal <onealj@apache.org>2016-10-19 21:52:31 +0000
commit99125ee19173959d42553f78c9ea936648f904b8 (patch)
treef5250e86fe41b26e92a6b26b6066dff811a484fd /src/testcases/org/apache/poi/hssf/eventusermodel
parent9eef74edd1d49ef6b7245faa938c817a7fda2967 (diff)
downloadpoi-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/testcases/org/apache/poi/hssf/eventusermodel')
-rw-r--r--src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java1
-rw-r--r--src/testcases/org/apache/poi/hssf/eventusermodel/TestFormatTrackingHSSFListener.java3
-rw-r--r--src/testcases/org/apache/poi/hssf/eventusermodel/TestHSSFEventFactory.java1
-rw-r--r--src/testcases/org/apache/poi/hssf/eventusermodel/TestMissingRecordAwareHSSFListener.java3
4 files changed, 6 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java b/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java
index 37b77423ba..72268832e2 100644
--- a/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java
+++ b/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java
@@ -153,6 +153,7 @@ public final class TestEventWorkbookBuilder extends TestCase {
private final List<Record> _records = new ArrayList<Record>();
private final List<Record> _frecs = new ArrayList<Record>();
+ @Override
public void processRecord(Record record) {
_records.add(record);
if(record instanceof FormulaRecord) {
diff --git a/src/testcases/org/apache/poi/hssf/eventusermodel/TestFormatTrackingHSSFListener.java b/src/testcases/org/apache/poi/hssf/eventusermodel/TestFormatTrackingHSSFListener.java
index 1eb61509a6..e9fa2a48bc 100644
--- a/src/testcases/org/apache/poi/hssf/eventusermodel/TestFormatTrackingHSSFListener.java
+++ b/src/testcases/org/apache/poi/hssf/eventusermodel/TestFormatTrackingHSSFListener.java
@@ -108,7 +108,8 @@ public final class TestFormatTrackingHSSFListener {
public MockHSSFListener() {}
private final List<Record> _records = new ArrayList<Record>();
- public void processRecord(Record record) {
+ @Override
+ public void processRecord(Record record) {
_records.add(record);
}
}
diff --git a/src/testcases/org/apache/poi/hssf/eventusermodel/TestHSSFEventFactory.java b/src/testcases/org/apache/poi/hssf/eventusermodel/TestHSSFEventFactory.java
index 08c1babe04..c87021b36d 100644
--- a/src/testcases/org/apache/poi/hssf/eventusermodel/TestHSSFEventFactory.java
+++ b/src/testcases/org/apache/poi/hssf/eventusermodel/TestHSSFEventFactory.java
@@ -130,6 +130,7 @@ public final class TestHSSFEventFactory extends TestCase {
return result;
}
+ @Override
public void processRecord(Record record) {
records.add(record);
}
diff --git a/src/testcases/org/apache/poi/hssf/eventusermodel/TestMissingRecordAwareHSSFListener.java b/src/testcases/org/apache/poi/hssf/eventusermodel/TestMissingRecordAwareHSSFListener.java
index 228071af24..5ed44a0f4a 100644
--- a/src/testcases/org/apache/poi/hssf/eventusermodel/TestMissingRecordAwareHSSFListener.java
+++ b/src/testcases/org/apache/poi/hssf/eventusermodel/TestMissingRecordAwareHSSFListener.java
@@ -367,7 +367,8 @@ public final class TestMissingRecordAwareHSSFListener extends TestCase {
private final List<Record> _records = new ArrayList<Record>();
private boolean logToStdOut = false;
- public void processRecord(Record record) {
+ @Override
+ public void processRecord(Record record) {
_records.add(record);
if(record instanceof MissingRowDummyRecord) {