Skip to content

Commit

Permalink
Fix compatibility with 2023-09
Browse files Browse the repository at this point in the history
  • Loading branch information
zulus committed Sep 19, 2023
1 parent 9903582 commit 2c5def3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public class PharLeveledStructureProvider implements ILeveledImportStructureProv
private int stripLevel;

/**
* Creates a <code>TarFileStructureProvider</code>, which will operate on the
* passed tar file.
* Creates a <code>TarFileStructureProvider</code>, which will operate on
* the passed tar file.
*
* @param sourceFile
* the source TarFile
Expand Down Expand Up @@ -263,4 +263,9 @@ public void setStrip(int level) {
public int getStrip() {
return stripLevel;
}

@Override
public void close() throws Exception {
closeArchive();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class TarLeveledStructureProvider implements ILeveledImportStructureProvi
private int stripLevel;

/**
* Creates a <code>TarFileStructureProvider</code>, which will operate on the
* passed tar file.
* Creates a <code>TarFileStructureProvider</code>, which will operate on
* the passed tar file.
*
* @param sourceFile
* the source TarFile
Expand Down Expand Up @@ -267,4 +267,10 @@ public void setStrip(int level) {
public int getStrip() {
return stripLevel;
}

@Override
public void close() throws Exception {
closeArchive();

}
}

0 comments on commit 2c5def3

Please sign in to comment.