From c8ef2e89bafa8f98ae454b89c59461f5bc0c3f50 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Tue, 7 Mar 2023 22:14:01 +0000 Subject: [PATCH] byte-buddy 1.14.1 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908174 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 4 ++-- poi-ooxml-lite-agent/build.gradle | 4 ++-- .../java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/build.xml b/build.xml index dd447fc6e2..df1336efeb 100644 --- a/build.xml +++ b/build.xml @@ -285,8 +285,8 @@ under the License. - - + + diff --git a/poi-ooxml-lite-agent/build.gradle b/poi-ooxml-lite-agent/build.gradle index f402e4af2b..56cc44cb49 100644 --- a/poi-ooxml-lite-agent/build.gradle +++ b/poi-ooxml-lite-agent/build.gradle @@ -22,8 +22,8 @@ sourceSets { } 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}" } diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java index c0011da4e2..e43d8be243 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java @@ -667,6 +667,10 @@ public final class TestSXSSFWorkbook extends BaseTestXWorkbook { 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(); -- 2.39.5