]> source.dussan.org Git - poi.git/commitdiff
revert, not close, XSSFWorkbooks created by WorkbookFactory in order to avoid modifyi...
authorJaven O'Neal <onealj@apache.org>
Tue, 29 Dec 2015 09:28:32 +0000 (09:28 +0000)
committerJaven O'Neal <onealj@apache.org>
Tue, 29 Dec 2015 09:28:32 +0000 (09:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722079 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java

index b1615e55bd8b54483ef86bc48029f61d593227f8..433576000701b32c10bd70de674c9fa3e9bfcca0 100644 (file)
@@ -85,6 +85,7 @@ public final class TestWorkbookFactory extends TestCase {
         assertNotNull(wb);
         assertTrue(wb instanceof XSSFWorkbook);
         // TODO: this re-writes the sample-file?! wb.close();
+        revert(wb);
     }
 
     public void testCreateReadOnly() throws Exception {