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 2023/10/28 11:14:16 UTC

(commons-compress) branch master updated (2226b561 -> 83f2bd91)

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 2226b561 Camel case parameter name
     new 5bc244d4 Format tweak
     new f399c8b5 Remove obsolete SpotBugs entry
     new 83f2bd91 Add SpotBugs to default Maven goal

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:
 pom.xml                                                          | 2 +-
 src/conf/spotbugs-exclude-filter.xml                             | 9 ---------
 .../org/apache/commons/compress/archivers/zip/AsiExtraField.java | 1 +
 3 files changed, 2 insertions(+), 10 deletions(-)


(commons-compress) 03/03: Add SpotBugs to default Maven goal

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 83f2bd916cb0ceb35959b69ea3e64fa0611f6bd2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 28 07:14:11 2023 -0400

    Add SpotBugs to default Maven goal
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 0848f9d3..3f769158 100644
--- a/pom.xml
+++ b/pom.xml
@@ -321,7 +321,7 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
   </scm>
 
   <build>
-    <defaultGoal>clean verify apache-rat:check japicmp:cmp javadoc:javadoc</defaultGoal>
+    <defaultGoal>clean verify apache-rat:check japicmp:cmp spotbugs:check javadoc:javadoc</defaultGoal>
     <pluginManagement>
       <plugins>
         <!-- Override Javadoc config in parent pom to add JCIP tags -->


(commons-compress) 02/03: Remove obsolete SpotBugs entry

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 f399c8b5ae84ba338c291e58b045ad62aa787d96
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 28 07:13:53 2023 -0400

    Remove obsolete SpotBugs entry
---
 src/conf/spotbugs-exclude-filter.xml | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/conf/spotbugs-exclude-filter.xml b/src/conf/spotbugs-exclude-filter.xml
index 3df8a994..4dff0b89 100644
--- a/src/conf/spotbugs-exclude-filter.xml
+++ b/src/conf/spotbugs-exclude-filter.xml
@@ -125,15 +125,6 @@
     <Method name="readString" />
     <Bug pattern="DM_DEFAULT_ENCODING" />
   </Match>
-  <Match>
-    <Class name="org.apache.commons.compress.archivers.zip.AsiExtraField" />
-    <Or>
-      <Method name="getLocalFileDataData" />
-      <Method name="getLocalFileDataLength" />
-      <Method name="parseFromLocalFileData" />
-    </Or>
-    <Bug pattern="DM_DEFAULT_ENCODING" />
-  </Match>
   <Match>
     <Class name="org.apache.commons.compress.archivers.zip.FallbackZipEncoding" />
     <Or>


(commons-compress) 01/03: Format tweak

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 5bc244d48b0826e68f6ef856fd736049d746c44d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 28 07:11:08 2023 -0400

    Format tweak
---
 .../java/org/apache/commons/compress/archivers/zip/AsiExtraField.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/AsiExtraField.java b/src/main/java/org/apache/commons/compress/archivers/zip/AsiExtraField.java
index 48557db5..89e202f2 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/AsiExtraField.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/AsiExtraField.java
@@ -57,6 +57,7 @@ public class AsiExtraField implements ZipExtraField, UnixStat, Cloneable {
 
     private static final ZipShort HEADER_ID = new ZipShort(0x756E);
     private static final int      MIN_SIZE = WORD + SHORT + WORD + SHORT + SHORT;
+
     /**
      * Standard Unix stat(2) file mode.
      */