From 2c9d714867470252c8ffec6fc38b8289339e15f9 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 27 Mar 2016 13:09:50 +0000 Subject: [PATCH] assertCloseDoesNotModifyFile method was adapted from method with the same name in TestWorkbookFactory git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1736744 13f79535-47bb-0310-9956-ffa450edef68 --- src/testcases/org/apache/poi/ss/usermodel/BaseTestWorkbook.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/testcases/org/apache/poi/ss/usermodel/BaseTestWorkbook.java b/src/testcases/org/apache/poi/ss/usermodel/BaseTestWorkbook.java index ba1e3d0845..346340082a 100644 --- a/src/testcases/org/apache/poi/ss/usermodel/BaseTestWorkbook.java +++ b/src/testcases/org/apache/poi/ss/usermodel/BaseTestWorkbook.java @@ -835,6 +835,7 @@ public abstract class BaseTestWorkbook { wb.close(); } + /* FIXME copied from {@link org.apache.poi.ss.TestWorkbookFactory} */ protected static void assertCloseDoesNotModifyFile(String filename, Workbook wb) throws IOException { final byte[] before = HSSFTestDataSamples.getTestDataFileContent(filename); wb.close(); -- 2.39.5