]> source.dussan.org Git - poi.git/commitdiff
commons-io 2.15.0
authorPJ Fanning <fanningpj@apache.org>
Thu, 26 Oct 2023 09:07:54 +0000 (09:07 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 26 Oct 2023 09:07:54 +0000 (09:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913340 13f79535-47bb-0310-9956-ffa450edef68

build.gradle
build.xml
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java
test-data/spreadsheet/github-321.xlsx

index 131d018ec27809fa80b8f606777b34e3342062a3..7540c9dbf122cb7c213acff4395f8f8a515221a4 100644 (file)
@@ -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'
index a570340631798e7d45147fb84f2349e710c18785..e47d2c8461511b284aa5a35dfe157a94e21d72d9 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -266,7 +266,7 @@ under the License.
     <dependency prefix="main.commons-codec" artifact="commons-codec:commons-codec:1.16.0" usage="main"/>
     <dependency prefix="main.commons-collections4" artifact="org.apache.commons:commons-collections4:4.4" usage="main"/>
     <dependency prefix="main.commons-math3" artifact="org.apache.commons:commons-math3:3.6.1" usage="main"/>
-    <dependency prefix="main.commons-io" artifact="commons-io:commons-io:2.14.0" usage="main"/>
+    <dependency prefix="main.commons-io" artifact="commons-io:commons-io:2.15.0" usage="main"/>
     <dependency prefix="main.com.zaxxer" artifact="com.zaxxer:SparseBitSet:1.3" usage="main"/>
     <dependency prefix="main.log4j-api" artifact="org.apache.logging.log4j:log4j-api:2.21.1" usage="main"/>
 
index 9e1a7cc0f34a96b38ed025061ca4158e392abca2..71cca08c790fcc3e01826bf59836467fe4ef7d85 100644 (file)
@@ -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
index b015b9e9937e24fa6ce7b9bc6cf4c1b4514b7c96..cdb6f19b441e4559f07d9132e7857f282e3d334e 100644 (file)
Binary files a/test-data/spreadsheet/github-321.xlsx and b/test-data/spreadsheet/github-321.xlsx differ