Skip to content

Commit

Permalink
Stable Zip entry order
Browse files Browse the repository at this point in the history
  • Loading branch information
NeRdTheNed committed Oct 10, 2023
1 parent 04c08b2 commit 693aa29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
Expand Down Expand Up @@ -90,7 +90,7 @@ public boolean read(InputStream is) throws IOException {
return false;
}

deflateStreamMap = new HashMap<>();
deflateStreamMap = new LinkedHashMap<>();

for (final LocalFileHeader localFile : archive.getLocalFiles()) {
// TODO Try compressing uncompressed files
Expand Down

0 comments on commit 693aa29

Please sign in to comment.