From: Javen O'Neal Date: Tue, 29 Dec 2015 09:28:32 +0000 (+0000) Subject: revert, not close, XSSFWorkbooks created by WorkbookFactory in order to avoid modifyi... X-Git-Tag: REL_3_14_FINAL~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=04d719a630d54a31a102d210c3e089b994291923;p=poi.git revert, not close, XSSFWorkbooks created by WorkbookFactory in order to avoid modifying SampleSS.xlsx (this bug will be addressed in a future commit). Since r1721468 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722079 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java b/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java index b1615e55bd..4335760007 100644 --- a/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java +++ b/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java @@ -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 {