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-imaging.git
The following commit(s) were added to refs/heads/master by this push: new ae477d81 Make PackBits final ae477d81 is described below commit ae477d81c50e395c5eeebb66b95a5d990f38ec74 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jan 26 19:29:25 2024 -0500 Make PackBits final --- src/main/java/org/apache/commons/imaging/common/PackBits.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/imaging/common/PackBits.java b/src/main/java/org/apache/commons/imaging/common/PackBits.java index e8507f18..8514d491 100644 --- a/src/main/java/org/apache/commons/imaging/common/PackBits.java +++ b/src/main/java/org/apache/commons/imaging/common/PackBits.java @@ -22,7 +22,7 @@ import java.io.IOException; import org.apache.commons.imaging.ImagingException; import org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream; -public class PackBits { +public final class PackBits { public static byte[] compress(final byte[] bytes) throws IOException { // max length 1 extra byte for every 128 @@ -149,7 +149,7 @@ public class PackBits { return i - start; } - + private PackBits() { // empty }