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 2176e55f27773e7153bd7351cdb88018caacd312
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Mar 1 15:22:07 2025 -0500

    Methods do not need to be public in a package-private class
---
 .../commons/compress/archivers/zip/RandomAccessOutputStream.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/RandomAccessOutputStream.java
 
b/src/main/java/org/apache/commons/compress/archivers/zip/RandomAccessOutputStream.java
index ea1f6a078..8595efd89 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/RandomAccessOutputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/RandomAccessOutputStream.java
@@ -33,7 +33,7 @@ abstract class RandomAccessOutputStream extends OutputStream {
      * @return current position.
      * @throws IOException if an I/O error occurs
      */
-    public abstract long position() throws IOException;
+    abstract long position() throws IOException;
 
     @Override
     public void write(final int b) throws IOException {
@@ -58,7 +58,7 @@ public void write(final int b) throws IOException {
      * @param b        data to write
      * @throws IOException if an I/O error occurs.
      */
-    public void writeFully(final byte[] b, final long position) throws 
IOException {
+    void writeFully(final byte[] b, final long position) throws IOException {
         writeFully(b, 0, b.length, position);
     }
 }

Reply via email to