Skip to content

Commit

Permalink
Merge pull request #10 from turbolocust/dependabot/maven/org.apache.c…
Browse files Browse the repository at this point in the history
…ommons-commons-compress-1.26.0

Bump org.apache.commons:commons-compress from 1.24.0 to 1.26.0
  • Loading branch information
turbolocust authored Feb 22, 2024
2 parents 8ec92ca + 19e4e2d commit 2ac13ef
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 2ac13ef

Please sign in to comment.