Skip to content

Commit

Permalink
Merge branch 'master' into new-menu-items
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolocust committed Mar 30, 2024
2 parents 1a6555c + 2ac13ef commit 93d8ed0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,14 @@
<!-- commons-compress -->
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.24.0</version>
<version>1.26.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<!-- commons-codec -->
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.16.1</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static GzipParameters getDefaultGzipParams(String filename) {
params.setModificationTime(System.currentTimeMillis());

if (filename != null && !FileUtils.normalize(filename).contains("/")) {
params.setFilename(filename);
params.setFileName(filename);
}

return params;
Expand All @@ -62,7 +62,7 @@ public static GzipParameters getDefaultGzipParams(String filename) {
protected CompressorInputStream makeCompressorInputStream(
InputStream stream, CompressorOptions options) throws IOException {
GzipCompressorInputStream gcis = new GzipCompressorInputStream(stream);
options.setName(gcis.getMetaData().getFilename());
options.setName(gcis.getMetaData().getFileName());
return gcis;
}

Expand Down

0 comments on commit 93d8ed0

Please sign in to comment.