You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by kl...@apache.org on 2005/04/22 18:40:41 UTC
cvs commit: jakarta-poi/src/testcases/org/apache/poi/poifs/filesystem TestEmptyDocument.java
klute 2005/04/22 09:40:41
Modified: src/testcases/org/apache/poi/poifs/filesystem
TestEmptyDocument.java
Log:
- Superflous statements removed.
Revision Changes Path
1.3 +0 -4 jakarta-poi/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java
Index: TestEmptyDocument.java
===================================================================
RCS file: /home/cvs/jakarta-poi/src/testcases/org/apache/poi/poifs/filesystem/TestEmptyDocument.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestEmptyDocument.java 28 Dec 2004 20:42:13 -0000 1.2
+++ TestEmptyDocument.java 22 Apr 2005 16:40:41 -0000 1.3
@@ -86,7 +86,6 @@
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 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 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 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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/