Skip to content

Commit 9573e75

Browse files
dependabot[bot]ginoaugustinevladak
authored
Bump org.apache.commons:commons-compress from 1.21 to 1.26.0 in /opengrok-indexer (#4548)
Bumps org.apache.commons:commons-compress from 1.21 to 1.26.0. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gino Augustine <gino.augustine@oracle.com> Co-authored-by: Vladimir Kotal <vladimir.kotal@oracle.com>
1 parent 1f50206 commit 9573e75

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

opengrok-indexer/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ information: Portions Copyright [yyyy] [name of copyright owner]
1818
1919
CDDL HEADER END
2020
21-
Copyright (c) 2010, 2023, Oracle and/or its affiliates. All rights reserved.
21+
Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
2222
Portions Copyright (c) 2017-2020, Chris Fraire <cfraire@me.com>.
2323
Portions Copyright (c) 2020-2020, Lubos Kosco <tarzanek@gmail.com>.
2424
@@ -55,7 +55,7 @@ Portions Copyright (c) 2020-2020, Lubos Kosco <tarzanek@gmail.com>.
5555
<dependency>
5656
<groupId>org.apache.commons</groupId>
5757
<artifactId>commons-compress</artifactId>
58-
<version>1.21</version>
58+
<version>1.26.0</version>
5959
</dependency>
6060
<dependency>
6161
<groupId>commons-io</groupId>

opengrok-indexer/src/test/java/org/opengrok/indexer/util/FileUtilities.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
21+
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
2222
* Portions Copyright (c) 2019, 2020, Chris Fraire <cfraire@me.com>.
2323
*/
2424
package org.opengrok.indexer.util;
@@ -47,7 +47,7 @@
4747
public class FileUtilities {
4848

4949
public static void extractArchive(File sourceBundle, File root) throws IOException {
50-
try (ZipFile zipfile = new ZipFile(sourceBundle)) {
50+
try (ZipFile zipfile = ZipFile.builder().setFile(sourceBundle).get()) {
5151
Enumeration<ZipArchiveEntry> e = zipfile.getEntries();
5252

5353
while (e.hasMoreElements()) {

0 commit comments

Comments
 (0)