From: PJ Fanning Date: Thu, 26 Oct 2023 09:07:54 +0000 (+0000) Subject: commons-io 2.15.0 X-Git-Tag: REL_5_2_5~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9dec19ba000e30473e703ee1e00ab9e2695c3ffa;p=poi.git commons-io 2.15.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913340 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.gradle b/build.gradle index 131d018ec2..7540c9dbf1 100644 --- a/build.gradle +++ b/build.gradle @@ -121,7 +121,7 @@ subprojects { bouncyCastleVersion = '1.76' commonsCodecVersion = '1.16.0' commonsCompressVersion = '1.24.0' - commonsIoVersion = '2.14.0' + commonsIoVersion = '2.15.0' commonsMathVersion = '3.6.1' junitVersion = '5.10.0' log4jVersion = '2.21.1' diff --git a/build.xml b/build.xml index a570340631..e47d2c8461 100644 --- a/build.xml +++ b/build.xml @@ -266,7 +266,7 @@ under the License. - + diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java index 9e1a7cc0f3..71cca08c79 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java @@ -1432,7 +1432,7 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook { @Test void testGithub321() throws Exception { - try (XSSFWorkbook wb = openSampleWorkbook("github-321.xlsx")) { + try (XSSFWorkbook wb = new XSSFWorkbook(getSampleFile("github-321.xlsx"))) { XSSFSheet xssfSheet = wb.getSheetAt(0); DataFormatter dataFormatter = new DataFormatter(); FormulaEvaluator formulaEvaluator = wb.getCreationHelper().createFormulaEvaluator(); @@ -1445,6 +1445,8 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook { assertEquals("2.1", dataFormatter.formatCellValue(a4)); assertEquals("2.1", dataFormatter.formatCellValue(a4, formulaEvaluator)); } + System.out.println("sleeping"); + Thread.sleep(1000 * 1000); } @Test diff --git a/test-data/spreadsheet/github-321.xlsx b/test-data/spreadsheet/github-321.xlsx index b015b9e993..cdb6f19b44 100644 Binary files a/test-data/spreadsheet/github-321.xlsx and b/test-data/spreadsheet/github-321.xlsx differ