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 095c35f2131df6e97d1159856e4d178479e1ff4a
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jan 1 09:30:47 2023 -0500

    Javadoc spelling
---
 .../org/apache/commons/compress/archivers/tar/TarArchiveEntry.java  | 2 +-
 .../org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java  | 6 +++---
 .../apache/commons/compress/archivers/zip/ZipEightByteInteger.java  | 2 +-
 .../commons/compress/compressors/lz77support/LZ77Compressor.java    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java 
b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
index 7a67ad0a..fe65bab1 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
@@ -1137,7 +1137,7 @@ public class TarArchiveEntry implements ArchiveEntry, 
TarConstants, EntryStreamO
     /**
      * Hashcodes are based on entry names.
      *
-     * @return the entry hashcode
+     * @return the entry hash code
      */
     @Override
     public int hashCode() {
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
index 8383adc5..bc7c9080 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
@@ -915,9 +915,9 @@ public class ZipArchiveEntry extends java.util.zip.ZipEntry 
implements ArchiveEn
     }
 
     /**
-     * Get the hashCode of the entry.
-     * This uses the name as the hashcode.
-     * @return a hashcode.
+     * Get the hash code of the entry.
+     * This uses the name as the hash code.
+     * @return a hash code.
      */
     @Override
     public int hashCode() {
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java
 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java
index 43c6c104..5acf46c3 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java
@@ -220,7 +220,7 @@ public final class ZipEightByteInteger implements 
Serializable {
 
     /**
      * Override to make two instances with same value equal.
-     * @return the hashCode of the value stored in the ZipEightByteInteger
+     * @return the hash code of the value stored in the ZipEightByteInteger
      */
     @Override
     public int hashCode() {
diff --git 
a/src/main/java/org/apache/commons/compress/compressors/lz77support/LZ77Compressor.java
 
b/src/main/java/org/apache/commons/compress/compressors/lz77support/LZ77Compressor.java
index 500c3833..ee50cd5a 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/lz77support/LZ77Compressor.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/lz77support/LZ77Compressor.java
@@ -213,7 +213,7 @@ public class LZ77Compressor {
     static final int NUMBER_OF_BYTES_IN_HASH = 3;
     private static final int NO_MATCH = -1;
 
-    // we use a 15 bit hashcode as calculated in updateHash
+    // we use a 15 bit hash code as calculated in updateHash
     private static final int HASH_SIZE = 1 << 15;
     private static final int HASH_MASK = HASH_SIZE - 1;
 

Reply via email to