Browse Source

slf4j 2.0.13

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916936 13f79535-47bb-0310-9956-ffa450edef68
pull/356/merge
PJ Fanning 2 weeks ago
parent
commit
1fe45e84b0

+ 1
- 1
build.gradle View File

@@ -153,7 +153,7 @@ subprojects {
all {
resolutionStrategy {
force "commons-io:commons-io:${commonsIoVersion}"
force 'org.slf4j:slf4j-api:2.0.12'
force 'org.slf4j:slf4j-api:2.0.13'
force 'com.fasterxml.woodstox:woodstox-core:6.6.2'
}
}

+ 1
- 1
build.xml View File

@@ -340,7 +340,7 @@ under the License.
<dependency prefix="ooxml.test.reflections" artifact="org.reflections:reflections:0.10.2" usage="ooxml-tests"/>
<dependency prefix="ooxml.test.guava" artifact="com.google.guava:guava:32.1.1-jre" usage="ooxml-tests"/>
<dependency prefix="ooxml.test.javassist" artifact="org.javassist:javassist:3.27.0-GA" usage="ooxml-tests"/>
<dependency prefix="ooxml.test.slf4j-api" artifact="org.slf4j:slf4j-api:2.0.12" usage="ooxml-tests"/>
<dependency prefix="ooxml.test.slf4j-api" artifact="org.slf4j:slf4j-api:2.0.13" usage="ooxml-tests"/>
<dependency prefix="ooxml.test.opczip" artifact="com.github.rzymek:opczip:1.2.0" usage="ooxml-tests"/>

<!-- coverage libs -->

+ 1
- 1
poi-excelant/build.gradle View File

@@ -43,7 +43,7 @@ dependencies {
}
testImplementation 'com.google.guava:guava:32.1.1-jre'
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.12'
testImplementation 'org.slf4j:slf4j-simple:2.0.13'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
}


+ 1
- 1
poi-integration/build.gradle View File

@@ -76,7 +76,7 @@ dependencies {
}
testImplementation project(path: ':poi-ooxml-lite-agent', configuration: 'archives')
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.12'
testImplementation 'org.slf4j:slf4j-simple:2.0.13'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
}


+ 1
- 1
poi-ooxml/build.gradle View File

@@ -125,7 +125,7 @@ dependencies {
// prevent slf4j warnings coming from xmlsec -> slf4j-api 1.7.x dependency
// see https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.12'
testImplementation 'org.slf4j:slf4j-simple:2.0.13'

broken("org.apache.xmlgraphics:batik-script:${batikVersion}"){
exclude group: 'xalan', module: 'xalan'

+ 23
- 0
poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFTemp.java View File

@@ -0,0 +1,23 @@
package org.apache.poi.xssf.usermodel;

import org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream;
import org.junit.jupiter.api.Test;

import java.io.IOException;

public class TestXSSFTemp {
@Test
public void testWrite() throws IOException {
try(XSSFWorkbook wb = new XSSFWorkbook()) {
XSSFSheet sheet = wb.createSheet();
XSSFRow row = sheet.createRow(0);
for (int i = 0; i < 10000; i++) {
XSSFCell cell = row.createCell(i);
cell.setCellValue("cell " + i);
}
try (UnsynchronizedByteArrayOutputStream bos = UnsynchronizedByteArrayOutputStream.builder().get()) {
wb.write(bos);
}
}
}
}

Loading…
Cancel
Save