Skip to content

Commit

Permalink
deprecation warning
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916147 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
pjfanning committed Mar 6, 2024
1 parent d0a5b62 commit 45b2ecb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static Stream<Arguments> data() throws IOException {
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()).
Expand Down

0 comments on commit 45b2ecb

Please sign in to comment.