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
The following commit(s) were added to refs/heads/master by this push:
new 43ec3f5 PDFBOX-5660: remove protected from final class
43ec3f5 is described below
commit 43ec3f5165e0f9c532797ddcb966ee5c85fb23bc
Author: Tilman Hausherr <[email protected]>
AuthorDate: Wed May 13 14:04:39 2026 +0200
PDFBOX-5660: remove protected from final class
---
.../java/org/apache/pdfbox/jbig2/decoder/arithmetic/CX.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/pdfbox/jbig2/decoder/arithmetic/CX.java
b/src/main/java/org/apache/pdfbox/jbig2/decoder/arithmetic/CX.java
index b791608..e0c1794 100644
--- a/src/main/java/org/apache/pdfbox/jbig2/decoder/arithmetic/CX.java
+++ b/src/main/java/org/apache/pdfbox/jbig2/decoder/arithmetic/CX.java
@@ -63,12 +63,12 @@ public final class CX
mps = new byte[size];
}
- protected int cx()
+ int cx()
{
return cx[index] & 0x7f;
}
- protected void setCx(int value)
+ void setCx(int value)
{
cx[index] = (byte) (value & 0x7f);
}
@@ -76,7 +76,7 @@ public final class CX
/**
* @return The decision. Possible values are {@code 0} or {@code 1}.
*/
- protected byte mps()
+ byte mps()
{
return mps[index];
}
@@ -84,12 +84,12 @@ public final class CX
/**
* Flips the bit in actual "more predictable symbol" array element.
*/
- protected void toggleMps()
+ void toggleMps()
{
mps[index] ^= 1;
}
- protected int getIndex()
+ int getIndex()
{
return index;
}