Skip to content

Commit

Permalink
Remove deprecated usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Sep 16, 2024
1 parent 8b0bc8b commit 1c07af5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public File unTar(InputStream tarFile) throws IOException {

TarArchiveInputStream tis = new TarArchiveInputStream(tarFile);
TarArchiveEntry tarEntry;
while ((tarEntry = tis.getNextTarEntry()) != null) {
while ((tarEntry = tis.getNextEntry()) != null) {
File outputFile = new File(destDir, tarEntry.getName());
if (tarEntry.isDirectory()) {
if (!outputFile.exists()) {
Expand Down

0 comments on commit 1c07af5

Please sign in to comment.