aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/poifs/filesystem
diff options
context:
space:
mode:
authorRainer Klute <klute@apache.org>2005-04-22 16:40:41 +0000
committerRainer Klute <klute@apache.org>2005-04-22 16:40:41 +0000
commit6ff805edf37a0d579602c21db41be48090c4046d (patch)
tree21c949955e32eb732e947a9044e52a773ef726db /src/testcases/org/apache/poi/poifs/filesystem
parent7b50bc556698024e347455120d1d1f641b742373 (diff)
downloadpoi-6ff805edf37a0d579602c21db41be48090c4046d.tar.gz
poi-6ff805edf37a0d579602c21db41be48090c4046d.zip
- Superflous statements removed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353649 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/poifs/filesystem')
-rw-r--r--src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java b/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
index f75c3dc009..de57010e60 100644
--- a/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
+++ b/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
@@ -86,7 +86,6 @@ public class TestEmptyDocument extends TestCase {
public void testSingleEmptyDocument() throws IOException {
POIFSFileSystem fs = new POIFSFileSystem();
DirectoryEntry dir = fs.getRoot();
- dir = fs.getRoot();
dir.createDocument("Foo", new ByteArrayInputStream(new byte[] { }));
ByteArrayOutputStream out = new ByteArrayOutputStream();
@@ -97,7 +96,6 @@ public class TestEmptyDocument extends TestCase {
public void testSingleEmptyDocumentEvent() throws IOException {
POIFSFileSystem fs = new POIFSFileSystem();
DirectoryEntry dir = fs.getRoot();
- dir = fs.getRoot();
dir.createDocument("Foo", 0, new POIFSWriterListener() {
public void processPOIFSWriterEvent(POIFSWriterEvent event) {
System.out.println("written");
@@ -112,7 +110,6 @@ public class TestEmptyDocument extends TestCase {
public void testEmptyDocumentWithFriend() throws IOException {
POIFSFileSystem fs = new POIFSFileSystem();
DirectoryEntry dir = fs.getRoot();
- dir = fs.getRoot();
dir.createDocument("Bar", new ByteArrayInputStream(new byte[] { 0 }));
dir.createDocument("Foo", new ByteArrayInputStream(new byte[] { }));
@@ -124,7 +121,6 @@ public class TestEmptyDocument extends TestCase {
public void testEmptyDocumentEventWithFriend() throws IOException {
POIFSFileSystem fs = new POIFSFileSystem();
DirectoryEntry dir = fs.getRoot();
- dir = fs.getRoot();
dir.createDocument("Bar", 1, new POIFSWriterListener() {
public void processPOIFSWriterEvent(POIFSWriterEvent event) {
try {