aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.gradle2
-rw-r--r--build.xml2
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java4
-rw-r--r--test-data/spreadsheet/github-321.xlsxbin6461 -> 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.
<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"/>
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
--- a/test-data/spreadsheet/github-321.xlsx
+++ b/test-data/spreadsheet/github-321.xlsx
Binary files differ