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 8239889204ef2203e7429e62d28bd3a6789a357b Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Jul 6 17:22:45 2023 -0400 Fix formatting --- .../java/org/apache/commons/compress/archivers/zip/ZipLong.java | 4 ++-- .../java/org/apache/commons/compress/archivers/zip/ZipShort.java | 6 +++--- 2 files changed, 5 insertions(+), 5 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 cfa656dc..877d6688 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 @@ -119,7 +119,7 @@ public final class ZipLong implements Cloneable, Serializable { * Create instance from bytes. * @param bytes the bytes to store as a ZipLong */ - public ZipLong (final byte[] bytes) { + public ZipLong(final byte[] bytes) { this(bytes, 0); } @@ -128,7 +128,7 @@ public final class ZipLong implements Cloneable, Serializable { * @param bytes the bytes to store as a ZipLong * @param offset the offset to start */ - public ZipLong (final byte[] bytes, final int offset) { + public ZipLong(final byte[] bytes, final int offset) { value = ZipLong.getValue(bytes, offset); } 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 8385c6cf..f40a1a1f 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 @@ -82,7 +82,7 @@ public final class ZipShort implements Cloneable, Serializable { * Create instance from bytes. * @param bytes the bytes to store as a ZipShort */ - public ZipShort (final byte[] bytes) { + public ZipShort(final byte[] bytes) { this(bytes, 0); } @@ -91,7 +91,7 @@ public final class ZipShort implements Cloneable, Serializable { * @param bytes the bytes to store as a ZipShort * @param offset the offset to start */ - public ZipShort (final byte[] bytes, final int offset) { + public ZipShort(final byte[] bytes, final int offset) { value = ZipShort.getValue(bytes, offset); } @@ -99,7 +99,7 @@ public final class ZipShort implements Cloneable, Serializable { * Create instance from a number. * @param value the int to store as a ZipShort */ - public ZipShort (final int value) { + public ZipShort(final int value) { this.value = value; }