From 04d719a630d54a31a102d210c3e089b994291923 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Tue, 29 Dec 2015 09:28:32 +0000 Subject: [PATCH] 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 --- src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.39.5