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

commit 1412050cdaa8e666f4568a0909273eea977d62b4
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue May 16 10:27:54 2023 -0400

    Encapsulate PngChunkGama
---
 .../org/apache/commons/imaging/formats/png/chunks/PngChunkGama.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkGama.java 
b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkGama.java
index 0fa864c1..a11eb716 100644
--- 
a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkGama.java
+++ 
b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkGama.java
@@ -22,7 +22,8 @@ import java.io.ByteArrayInputStream;
 import java.io.IOException;
 
 public class PngChunkGama extends PngChunk {
-    public final int gamma;
+
+    private final int gamma;
 
     public PngChunkGama(final int length, final int chunkType, final int crc, 
final byte[] bytes)
             throws IOException {

Reply via email to