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


The following commit(s) were added to refs/heads/master by this push:
     new fdc6fc22b Javadoc spelling
fdc6fc22b is described below

commit fdc6fc22bfb60a3faabd8d81fd485c5d44400c12
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Nov 26 15:46:36 2023 -0500

    Javadoc spelling
---
 .../java/org/apache/commons/compress/archivers/zip/ZipLong.java   | 4 ++--
 .../java/org/apache/commons/compress/archivers/zip/ZipShort.java  | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipLong.java 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipLong.java
index a7777abc3..068dbb453 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipLong.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipLong.java
@@ -139,7 +139,7 @@ public final class ZipLong implements Cloneable, 
Serializable {
     }
 
     /**
-     * create instance from a java int.
+     * create instance from a Java int.
      *
      * @param value the int to store as a ZipLong
      * @since 1.15
@@ -191,7 +191,7 @@ public final class ZipLong implements Cloneable, 
Serializable {
     }
 
     /**
-     * Gets value as a (signed) java int
+     * Gets value as a (signed) Java int
      *
      * @return value as int
      * @since 1.15
diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java
index 88594ce1c..bd92de031 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipShort.java
@@ -48,21 +48,21 @@ public final class ZipShort implements Cloneable, 
Serializable {
     }
 
     /**
-     * Helper method to get the value as a java int from a two-byte array
+     * Helper method to get the value as a Java int from a two-byte array
      *
      * @param bytes the array of bytes
-     * @return the corresponding java int value
+     * @return the corresponding Java int value
      */
     public static int getValue(final byte[] bytes) {
         return getValue(bytes, 0);
     }
 
     /**
-     * Helper method to get the value as a java int from two bytes starting at 
given array offset
+     * Helper method to get the value as a Java int from two bytes starting at 
given array offset
      *
      * @param bytes  the array of bytes
      * @param offset the offset to start
-     * @return the corresponding java int value
+     * @return the corresponding Java int value
      */
     public static int getValue(final byte[] bytes, final int offset) {
         return (int) ByteUtils.fromLittleEndian(bytes, offset, 2);

Reply via email to