This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pdfbox-jbig2.git
commit 526b05fdf8bddee397a3d23a6d3b5d2f4fd3c122 Author: Tilman Hausherr <[email protected]> AuthorDate: Wed May 13 11:00:13 2026 +0200 PDFBOX-5660: Sonar fix --- src/main/java/org/apache/pdfbox/jbig2/Bitmap.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/apache/pdfbox/jbig2/Bitmap.java b/src/main/java/org/apache/pdfbox/jbig2/Bitmap.java index 562b2ff..8fddfe0 100644 --- a/src/main/java/org/apache/pdfbox/jbig2/Bitmap.java +++ b/src/main/java/org/apache/pdfbox/jbig2/Bitmap.java @@ -130,6 +130,7 @@ public class Bitmap * * @deprecated don't expose the underlying byte array, will be removed in a future release. */ + @Deprecated public byte[] getByteArray() { return bitmap; @@ -234,6 +235,7 @@ public class Bitmap * * @deprecated renamed, will be removed in a future release. Use {@link Bitmap#getLength()} instead. */ + @Deprecated public int getMemorySize() { return getLength();
