poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1722093 - /poi/trunk/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java
Date Tue, 29 Dec 2015 10:43:40 GMT
Author: onealj
Date: Tue Dec 29 10:43:40 2015
New Revision: 1722093

URL: http://svn.apache.org/viewvc?rev=1722093&view=rev
Log:
move comment

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java?rev=1722093&r1=1722092&r2=1722093&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java Tue Dec 29 10:43:40
2015
@@ -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.");



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message