<dependency prefix="main.hamcrest" artifact="org.hamcrest:hamcrest:2.2" usage="main-tests"/>
<dependency prefix="main.xmlunit" artifact="org.xmlunit:xmlunit-core:2.9.1" usage="main-tests"/>
<dependency prefix="main.mockito" artifact="org.mockito:mockito-core:4.11.0" usage="main-tests"/>
- <dependency prefix="main.byte-buddy" artifact="net.bytebuddy:byte-buddy:1.14.0" usage="main-tests"/>
- <dependency prefix="main.byte-buddy-agent" artifact="net.bytebuddy:byte-buddy-agent:1.14.0" usage="main-tests"/>
+ <dependency prefix="main.byte-buddy" artifact="net.bytebuddy:byte-buddy:1.14.1" usage="main-tests"/>
+ <dependency prefix="main.byte-buddy-agent" artifact="net.bytebuddy:byte-buddy-agent:1.14.1" usage="main-tests"/>
<dependency prefix="main.objenesis" artifact="org.objenesis:objenesis:3.1" usage="main-tests"/>
<dependency prefix="main.log4j-core" artifact="org.apache.logging.log4j:log4j-core:2.20.0" usage="main-tests"/>
<dependency prefix="main.commons-logging" artifact="commons-logging:commons-logging:1.2" usage="main-tests"/>
}
dependencies {
- api 'net.bytebuddy:byte-buddy:1.14.0'
- api 'net.bytebuddy:byte-buddy-agent:1.14.0'
+ api 'net.bytebuddy:byte-buddy:1.14.1'
+ api 'net.bytebuddy:byte-buddy-agent:1.14.1'
api "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}"
}
cell.setCellStyle(cellStyle);
workbook.write(bos);
+ try (java.io.FileOutputStream fos = new java.io.FileOutputStream("/Users/pj.fanning/test.xlsx")) {
+ workbook.write(fos);
+ }
+
try (XSSFWorkbook xssfWorkbook = new XSSFWorkbook(bos.toInputStream())) {
XSSFSheet xssfSheet = xssfWorkbook.getSheetAt(0);
DataFormatter dataFormatter = new DataFormatter();