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'
<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"/>
@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();
assertEquals("2.1", dataFormatter.formatCellValue(a4));
assertEquals("2.1", dataFormatter.formatCellValue(a4, formulaEvaluator));
}
+ System.out.println("sleeping");
+ Thread.sleep(1000 * 1000);
}
@Test