if (visitedNames.contains(entryName)) {
return;
}
visitedNames.add(entryName);
ZipEntryTransformer transformer = (ZipEntryTransformer) entryByPath.remove(entryName);
if (transformer == null) { // no transformer
ZipEntryUtil.copyEntry(zipEntry, in, out, preserveTimestapms);
}
else { // still transfom entry
transformer.transform(in, zipEntry, out);
}
}