You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/06 11:50:58 UTC

[commons-compress] branch master updated (0516cc6a -> 821c2462)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


    from 0516cc6a Use try-with-resources
     new b112472a Fix format
     new d38bbf76 Javadoc
     new 821c2462 Undo Bump actions/setup-java from 3.6.0 to 3.7.0

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/coverage.yml                                   | 2 +-
 .github/workflows/maven.yml                                      | 2 +-
 .../commons/compress/archivers/sevenz/SevenZFileOptions.java     | 9 +++++----
 3 files changed, 7 insertions(+), 6 deletions(-)


[commons-compress] 03/03: Undo Bump actions/setup-java from 3.6.0 to 3.7.0

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit 821c2462d875b84f699f01b2d14250f5e1fc6a23
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Dec 6 06:50:54 2022 -0500

    Undo Bump actions/setup-java from 3.6.0 to 3.7.0
---
 .github/workflows/coverage.yml | 2 +-
 .github/workflows/maven.yml    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 29b99f39..d8e23279 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -39,7 +39,7 @@ jobs:
         restore-keys: |
           ${{ runner.os }}-maven-
     - name: Set up JDK ${{ matrix.java }}
-      uses: actions/setup-java@v3.7.0
+      uses: actions/setup-java@v3.6.0
       with:
         distribution: 'temurin'
         java-version: ${{ matrix.java }}
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index d9240f18..c95da7b8 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -46,7 +46,7 @@ jobs:
         restore-keys: |
           ${{ runner.os }}-maven-
     - name: Set up JDK ${{ matrix.java }}
-      uses: actions/setup-java@v3.7.0
+      uses: actions/setup-java@v3.6.0
       with:
         distribution: 'temurin'
         java-version: ${{ matrix.java }}


[commons-compress] 02/03: Javadoc

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit d38bbf76aa3e0d51fcca45fcfe851eaa99045915
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 2 08:45:36 2022 -0500

    Javadoc
---
 .../commons/compress/archivers/sevenz/SevenZFileOptions.java       | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java
index 3cfad175..0cb6f417 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java
@@ -132,11 +132,12 @@ public class SevenZFileOptions {
         /**
          * Sets whether {@link SevenZFile} will try to revover broken archives where the CRC of the file's metadata is
          * 0.
-         *
-         * <p>This special kind of broken archive is encountered when mutli volume archives are closed prematurely. If
+         * <p>
+         * This special kind of broken archive is encountered when mutli volume archives are closed prematurely. If
          * you enable this option SevenZFile will trust data that looks as if it could contain metadata of an archive
          * and allocate big amounts of memory. It is strongly recommended to not enable this option without setting
          * {@link #withMaxMemoryLimitInKb} at the same time.
+         * </p>
          *
          * @param tryToRecoverBrokenArchives if true SevenZFile will try to recover archives that are broken in the
          * specific way
@@ -149,7 +150,7 @@ public class SevenZFileOptions {
         }
 
         /**
-         * Create the {@link SevenZFileOptions}.
+         * Builds the {@link SevenZFileOptions}.
          *
          * @return configured {@link SevenZFileOptions}.
          */


[commons-compress] 01/03: Fix format

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit b112472aeda45293ba476f2ecc8fa896b8e1735f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 2 08:44:41 2022 -0500

    Fix format
---
 .../org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java
index d8860913..3cfad175 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFileOptions.java
@@ -25,7 +25,7 @@ package org.apache.commons.compress.archivers.sevenz;
  */
 public class SevenZFileOptions {
     private static final int DEFAUL_MEMORY_LIMIT_IN_KB = Integer.MAX_VALUE;
-    private static final boolean DEFAULT_USE_DEFAULTNAME_FOR_UNNAMED_ENTRIES= false;
+    private static final boolean DEFAULT_USE_DEFAULTNAME_FOR_UNNAMED_ENTRIES = false;
     private static final boolean DEFAULT_TRY_TO_RECOVER_BROKEN_ARCHIVES = false;
 
     private final int maxMemoryLimitInKb;