mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916147 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d0a5b622ca
commit
45b2ecb20a
@ -101,7 +101,7 @@ class TestPPTX2PNG {
|
||||
result = zipFile.stream().
|
||||
map(f -> Arguments.of(new File(f.getName()).getName(), f, new ZipFile[]{zipFile}));
|
||||
} else if (basedir != null && basedir.getName().endsWith(".7z")) {
|
||||
SevenZFile sevenZFile = new SevenZFile(basedir);
|
||||
SevenZFile sevenZFile = SevenZFile.builder().setFile(basedir).get();
|
||||
archive = sevenZFile;
|
||||
result = ((ArrayList<SevenZArchiveEntry>)sevenZFile.getEntries()).stream().
|
||||
filter(f -> !f.isDirectory()).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user