aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
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/poifs/filesystem/TestEmptyDocument.java
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/poifs/filesystem/TestEmptyDocument.java')
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java b/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
index d659f1654f..22449e5c6c 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
@@ -49,7 +49,8 @@ public final class TestEmptyDocument extends TestCase {
POIFSFileSystem fs = new POIFSFileSystem();
DirectoryEntry dir = fs.getRoot();
dir.createDocument("Foo", 0, new POIFSWriterListener() {
- public void processPOIFSWriterEvent(POIFSWriterEvent event) {
+ @Override
+ public void processPOIFSWriterEvent(POIFSWriterEvent event) {
_logger.log(POILogger.WARN, "written");
}
});
@@ -74,7 +75,8 @@ public final class TestEmptyDocument extends TestCase {
POIFSFileSystem fs = new POIFSFileSystem();
DirectoryEntry dir = fs.getRoot();
dir.createDocument("Bar", 1, new POIFSWriterListener() {
- public void processPOIFSWriterEvent(POIFSWriterEvent event) {
+ @Override
+ public void processPOIFSWriterEvent(POIFSWriterEvent event) {
try {
event.getStream().write(0);
} catch (IOException exception) {
@@ -83,7 +85,8 @@ public final class TestEmptyDocument extends TestCase {
}
});
dir.createDocument("Foo", 0, new POIFSWriterListener() {
- public void processPOIFSWriterEvent(POIFSWriterEvent event) {
+ @Override
+ public void processPOIFSWriterEvent(POIFSWriterEvent event) {
}
});