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
This commit is contained in:
parent
6bc5c33c10
commit
5310fc4b6d
@ -85,6 +85,7 @@ public final class TestWorkbookFactory extends TestCase {
|
|||||||
assertNotNull(wb);
|
assertNotNull(wb);
|
||||||
assertTrue(wb instanceof XSSFWorkbook);
|
assertTrue(wb instanceof XSSFWorkbook);
|
||||||
// TODO: this re-writes the sample-file?! wb.close();
|
// TODO: this re-writes the sample-file?! wb.close();
|
||||||
|
revert(wb);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testCreateReadOnly() throws Exception {
|
public void testCreateReadOnly() throws Exception {
|
||||||
|
Loading…
Reference in New Issue
Block a user