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 d7d69725c85c92a30afedfe67fd30051136519d5
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Dec 7 16:15:25 2024 -0500

    Javadoc: Uppercase acronym
---
 .../org/apache/commons/compress/archivers/cpio/CpioConstants.java   | 2 +-
 .../org/apache/commons/compress/archivers/zip/StreamCompressor.java | 2 +-
 .../commons/compress/archivers/zip/ZipArchiveOutputStream.java      | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java 
b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java
index d66a3e223..c19952ae8 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioConstants.java
@@ -29,7 +29,7 @@ public interface CpioConstants {
     /** Magic number of a cpio entry in the new format */
     String MAGIC_NEW = "070701";
 
-    /** Magic number of a cpio entry in the new format with crc */
+    /** Magic number of a cpio entry in the new format with CRC */
     String MAGIC_NEW_CRC = "070702";
 
     /** Magic number of a cpio entry in the old ascii format */
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 c176af674..82187e514 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
@@ -30,7 +30,7 @@ import java.util.zip.ZipEntry;
 import org.apache.commons.compress.parallel.ScatterGatherBackingStore;
 
 /**
- * Encapsulates a {@link Deflater} and crc calculator, handling multiple types 
of output streams. Currently {@link java.util.zip.ZipEntry#DEFLATED} and
+ * Encapsulates a {@link Deflater} and CRC calculator, handling multiple types 
of output streams. Currently {@link java.util.zip.ZipEntry#DEFLATED} and
  * {@link java.util.zip.ZipEntry#STORED} are the only supported compression 
methods.
  *
  * @since 1.10
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 4c49bf61a..d22bbeaf0 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
@@ -598,7 +598,7 @@ public class ZipArchiveOutputStream extends 
ArchiveOutputStream<ZipArchiveEntry>
     /**
      * Writes all necessary data for this entry.
      *
-     * @param phased This entry is second phase of a 2-phase ZIP creation, 
size, compressed size and crc are known in ZipArchiveEntry
+     * @param phased This entry is second phase of a 2-phase ZIP creation, 
size, compressed size and CRC are known in ZipArchiveEntry
      * @throws IOException            on error
      * @throws Zip64RequiredException if the entry's uncompressed or 
compressed size exceeds 4 GByte and {@link #setUseZip64} is {@link 
Zip64Mode#Never}.
      */
@@ -1181,7 +1181,7 @@ public class ZipArchiveOutputStream extends 
ArchiveOutputStream<ZipArchiveEntry>
      * to complete the process.
      *
      * @param archiveEntry The archiveEntry
-     * @param phased       If true size, compressedSize and crc required to be 
known up-front in the archiveEntry
+     * @param phased       If true size, compressedSize and CRC required to be 
known up-front in the archiveEntry
      * @throws ClassCastException     if entry is not an instance of 
ZipArchiveEntry
      * @throws Zip64RequiredException if the entry's uncompressed or 
compressed size is known to exceed 4 GByte and {@link #setUseZip64} is
      *                                {@link Zip64Mode#Never}.
@@ -1707,7 +1707,7 @@ public class ZipArchiveOutputStream extends 
ArchiveOutputStream<ZipArchiveEntry>
 
         final byte[] localHeader = createLocalFileHeader(ze, name, encodable, 
phased, localHeaderStart);
         metaData.put(ze, new EntryMetaData(localHeaderStart, 
usesDataDescriptor(ze.getMethod(), phased)));
-        entry.localDataStart = localHeaderStart + LFH_CRC_OFFSET; // At crc 
offset
+        entry.localDataStart = localHeaderStart + LFH_CRC_OFFSET; // At CRC 
offset
         writeCounted(localHeader);
         entry.dataStart = streamCompressor.getTotalBytesWritten();
     }

Reply via email to