Skip to content

Commit

Permalink
Bump org.apache.commons:commons-compress from 1.21 to 1.26.0 in /open…
Browse files Browse the repository at this point in the history
…grok-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>
  • Loading branch information
3 people committed Feb 26, 2024
1 parent 1f50206 commit 9573e75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions opengrok-indexer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ information: Portions Copyright [yyyy] [name of copyright owner]
CDDL HEADER END
Copyright (c) 2010, 2023, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
Portions Copyright (c) 2017-2020, Chris Fraire <cfraire@me.com>.
Portions Copyright (c) 2020-2020, Lubos Kosco <tarzanek@gmail.com>.
Expand Down Expand Up @@ -55,7 +55,7 @@ Portions Copyright (c) 2020-2020, Lubos Kosco <tarzanek@gmail.com>.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.21</version>
<version>1.26.0</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

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

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

while (e.hasMoreElements()) {
Expand Down

0 comments on commit 9573e75

Please sign in to comment.