Skip to content

Commit

Permalink
Renamed Unwraper to Unwrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Toomas Romer committed Apr 26, 2018
1 parent 759b72f commit e713af9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/zeroturnaround/zip/ZipUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ public static void unwrap(File zip, final File outputDir) {
*/
public static void unwrap(File zip, File outputDir, NameMapper mapper) {
log.debug("Unwrapping '{}' into '{}'.", zip, outputDir);
iterate(zip, new Unwraper(outputDir, mapper));
iterate(zip, new Unwrapper(outputDir, mapper));
}

/**
Expand Down Expand Up @@ -1128,7 +1128,7 @@ public static void unwrap(InputStream is, File outputDir) {
*/
public static void unwrap(InputStream is, File outputDir, NameMapper mapper) {
log.debug("Unwrapping {} into '{}'.", is, outputDir);
iterate(is, new Unwraper(outputDir, mapper));
iterate(is, new Unwrapper(outputDir, mapper));
}

/**
Expand Down Expand Up @@ -1262,13 +1262,13 @@ public void process(InputStream in, ZipEntry zipEntry) throws IOException {
*
* @author Oleg Shelajev
*/
private static class Unwraper implements ZipEntryCallback {
private static class Unwrapper implements ZipEntryCallback {

private final File outputDir;
private final NameMapper mapper;
private String rootDir;

public Unwraper(File outputDir, NameMapper mapper) {
public Unwrapper(File outputDir, NameMapper mapper) {
this.outputDir = outputDir;
this.mapper = mapper;
}
Expand Down

0 comments on commit e713af9

Please sign in to comment.