From 9dec19ba000e30473e703ee1e00ab9e2695c3ffa Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 26 Oct 2023 09:07:54 +0000 Subject: [PATCH] commons-io 2.15.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913340 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 2 +- build.xml | 2 +- .../poi/xssf/usermodel/TestXSSFWorkbook.java | 4 +++- test-data/spreadsheet/github-321.xlsx | Bin 6461 -> 6465 bytes 4 files changed, 5 insertions(+), 3 deletions(-) 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 b015b9e9937e24fa6ce7b9bc6cf4c1b4514b7c96..cdb6f19b441e4559f07d9132e7857f282e3d334e 100644 GIT binary patch delta 432 zcmdmMbkK+=z?+#xgn@&DgJDhYMxG8vrZv5rr!mTa=`BqA!E`B0E|`A8`h^K3e~aTH z8;D-ZU&IWgCo2l;)E}MXn044dfMLJVx46@OmxH{f#5gHlH>+)!aBW(rF6Y~2YwP15 zIz4vav6ZNrDA1kuY{Trk;rBcFeXg*rU!dhB@WOY)+I*2c^6~HHIS6Fumx|kHNlZxC zes@pOa?5(f>uy3bA9^+>_ni-#RCps>%gJTFda1|WXMcQpdv47sX)dY{oz`#UD_L+> zgnhMwY!2(A6~WDG9vCkXwscXmj0>Iku+qlmPq)>T((D5HGdtbSn{z!`&+z2!jH{|` zo7taM=-o36dM@=&pZAD!`<5+#+pU(z`+xCM-;zJ)(<+^K!`AahZT^J!?1}pS);z$Q zokKlq%H|gg3=FQ!3=EI}WP^m@W?zvNpdgz3UCbUtS%{m1s6ufY5Vc<17DT-hw**m| n5@01+64rccdLzRTW=`HLVFgm~UP6Y^buy2nHrrb&<_9vUxE-tKb9A~tm5!%7>sU;S2BO4DCj-ni@#w@&22e1;EIXI{xD z-*mQ^+g