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 de2bce80 Make ZlibDeflate final
de2bce80 is described below
commit de2bce802c265d862ad4b2c0fc759c37591ae3b6
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jan 26 19:30:52 2024 -0500
Make ZlibDeflate final
---
src/main/java/org/apache/commons/imaging/common/ZlibDeflate.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/imaging/common/ZlibDeflate.java
b/src/main/java/org/apache/commons/imaging/common/ZlibDeflate.java
index bbd86b43..c8eec008 100644
--- a/src/main/java/org/apache/commons/imaging/common/ZlibDeflate.java
+++ b/src/main/java/org/apache/commons/imaging/common/ZlibDeflate.java
@@ -33,7 +33,7 @@ import org.apache.commons.imaging.ImagingException;
* <a href="https://www.ietf.org/rfc/rfc1951.txt">RFC 1951 - DEFLATE
Compressed Data Format Specification version 1.3</a>
* </p>
*/
-public class ZlibDeflate {
+public final class ZlibDeflate {
/**
* Compress the byte[] using ZLIB deflate compression.
@@ -76,4 +76,7 @@ public class ZlibDeflate {
}
}
+ private ZlibDeflate() {
+ // empty
+ }
}