byte-buddy 1.14.1

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908174 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-03-07 22:14:01 +00:00
parent 1639f8b923
commit c8ef2e89ba
3 changed files with 8 additions and 4 deletions

View File

@ -285,8 +285,8 @@ under the License.
<dependency prefix="main.hamcrest" artifact="org.hamcrest:hamcrest:2.2" usage="main-tests"/> <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.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.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" 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.0" 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.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.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"/> <dependency prefix="main.commons-logging" artifact="commons-logging:commons-logging:1.2" usage="main-tests"/>

View File

@ -22,8 +22,8 @@ sourceSets {
} }
dependencies { dependencies {
api 'net.bytebuddy:byte-buddy:1.14.0' api 'net.bytebuddy:byte-buddy:1.14.1'
api 'net.bytebuddy:byte-buddy-agent:1.14.0' api 'net.bytebuddy:byte-buddy-agent:1.14.1'
api "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}" api "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}"
} }

View File

@ -667,6 +667,10 @@ public final class TestSXSSFWorkbook extends BaseTestXWorkbook {
cell.setCellStyle(cellStyle); cell.setCellStyle(cellStyle);
workbook.write(bos); 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())) { try (XSSFWorkbook xssfWorkbook = new XSSFWorkbook(bos.toInputStream())) {
XSSFSheet xssfSheet = xssfWorkbook.getSheetAt(0); XSSFSheet xssfSheet = xssfWorkbook.getSheetAt(0);
DataFormatter dataFormatter = new DataFormatter(); DataFormatter dataFormatter = new DataFormatter();