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 81d6d73efdd81c548a4ce9335dd0c1a5ace572e1
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Dec 21 10:07:50 2024 -0500

    Javadoc: Upper case acronym
---
 .../apache/commons/compress/archivers/zip/ScatterZipOutputStream.java | 2 +-
 .../org/apache/commons/compress/archivers/zip/StreamCompressor.java   | 4 ++--
 .../apache/commons/compress/archivers/zip/ZipArchiveInputStream.java  | 4 ++--
 .../apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java | 2 +-
 src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java  | 4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.java
 
b/src/main/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.java
index dd7602b75..8e27b3932 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.java
@@ -63,7 +63,7 @@ public class ScatterZipOutputStream implements Closeable {
         }
 
         /**
-         * Updates the original {@link ZipArchiveEntry} with sizes/crc. Do not 
use this method from threads that did not create the instance itself!
+         * Updates the original {@link ZipArchiveEntry} with sizes/CRC. Do not 
use this method from threads that did not create the instance itself!
          *
          * @return the zipArchiveEntry that is the basis for this request.
          */
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/StreamCompressor.java 
b/src/main/java/org/apache/commons/compress/archivers/zip/StreamCompressor.java
index 82187e514..fa2aa47a7 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/StreamCompressor.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/StreamCompressor.java
@@ -250,9 +250,9 @@ public abstract class StreamCompressor implements Closeable 
{
     }
 
     /**
-     * Gets the crc32 of the last deflated file
+     * Gets the CRC-32 of the last deflated file
      *
-     * @return the crc32
+     * @return the CRC-32
      */
 
     public long getCrc32() {
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
index 620735422..6b0bdbfce 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
@@ -184,13 +184,13 @@ public class ZipArchiveInputStream extends 
ArchiveInputStream<ZipArchiveEntry> i
 
     /*
      * local file header signature WORD version needed to extract SHORT 
general purpose bit flag SHORT compression method SHORT last mod file time 
SHORT last
-     * mod file date SHORT crc-32 WORD compressed size WORD uncompressed size 
WORD file name length SHORT extra field length SHORT
+     * mod file date SHORT CRC-32 WORD compressed size WORD uncompressed size 
WORD file name length SHORT extra field length SHORT
      */
     private static final int CFH_LEN = 46;
 
     /*
      * central file header signature WORD version made by SHORT version needed 
to extract SHORT general purpose bit flag SHORT compression method SHORT last 
mod
-     * file time SHORT last mod file date SHORT crc-32 WORD compressed size 
WORD uncompressed size WORD file name length SHORT extra field length SHORT file
+     * file time SHORT last mod file date SHORT CRC-32 WORD compressed size 
WORD uncompressed size WORD file name length SHORT extra field length SHORT file
      * comment length SHORT disk number start SHORT internal file attributes 
SHORT external file attributes WORD relative offset of local header WORD
      */
     private static final long TWO_EXP_32 = ZIP64_MAGIC + 1;
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
index b618ba435..9e9c1bb64 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
@@ -482,7 +482,7 @@ public class ZipArchiveOutputStream extends 
ArchiveOutputStream<ZipArchiveEntry>
     /**
      * Adds an archive entry with a raw input stream.
      * <p>
-     * If crc, size and compressed size are supplied on the entry, these 
values will be used as-is. Zip64 status is re-established based on the settings 
in this
+     * If CRC, size and compressed size are supplied on the entry, these 
values will be used as-is. Zip64 status is re-established based on the settings 
in this
      * stream, and the supplied value is ignored.
      * </p>
      * <p>
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
index efb81a870..ab57f1297 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
@@ -284,7 +284,7 @@ public class ZipFile implements Closeable {
         /* compression method              */ + ZipConstants.SHORT
         /* last mod file time              */ + ZipConstants.SHORT
         /* last mod file date              */ + ZipConstants.SHORT
-        /* crc-32                          */ + ZipConstants.WORD
+        /* CRC-32                          */ + ZipConstants.WORD
         /* compressed size                 */ + ZipConstants.WORD
         /* uncompressed size               */ + ZipConstants.WORD
         /* file name length                */ + ZipConstants. SHORT
@@ -453,7 +453,7 @@ public class ZipFile implements Closeable {
         /* compression method              */ + ZipConstants.SHORT
         /* last mod file time              */ + ZipConstants.SHORT
         /* last mod file date              */ + ZipConstants.SHORT
-        /* crc-32                          */ + ZipConstants.WORD
+        /* CRC-32                          */ + ZipConstants.WORD
         /* compressed size                 */ + ZipConstants.WORD
         /* uncompressed size               */ + (long) ZipConstants.WORD;
     // @formatter:on

Reply via email to