From ba1b0a2d8394787591006cb491ef57afa89efdf6 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Tue, 29 Dec 2015 10:43:40 +0000 Subject: [PATCH] move comment git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722093 13f79535-47bb-0310-9956-ffa450edef68 --- src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java b/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java index 05308921eb..72ba65546e 100644 --- a/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java +++ b/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java @@ -73,7 +73,6 @@ public final class TestWorkbookFactory { * @param wb the workbook to close or revert */ private static void closeOrRevert(Workbook wb) throws IOException { - // TODO: close() re-writes the sample-file?! Resort to revert() for now to close file handle... if (wb instanceof HSSFWorkbook) { wb.close(); } @@ -83,6 +82,7 @@ public final class TestWorkbookFactory { xwb.close(); } else { + // TODO: close() re-writes the sample-file?! Resort to revert() for now to close file handle... LOGGER.log(POILogger.WARN, "reverting XSSFWorkbook rather than closing it to avoid close() modifying the file on disk. " + "Refer to bug 58779."); -- 2.39.5