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 2a1e8bda Javadoc
2a1e8bda is described below
commit 2a1e8bda2b2f5117e97226fbc53257c91801a29c
Author: Gary Gregory <[email protected]>
AuthorDate: Mon May 15 20:55:49 2023 -0400
Javadoc
---
.../java/org/apache/commons/imaging/formats/png/chunks/PngChunk.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunk.java
b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunk.java
index cc84f955..33e767af 100644
--- a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunk.java
+++ b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunk.java
@@ -40,11 +40,13 @@ public class PngChunk extends BinaryFileParser {
public final boolean safeToCopy;
/**
- * Constructor.
+ * Constructs a new instance.
+ *
* @param length chunk length
* @param chunkType chunk type
* @param crc CRC computed over the chunk type and chunk data (but not the
length)
* @param bytes chunk data bytes
+ * @throws NullPointerException if bytes is null.
*/
public PngChunk(final int length, final int chunkType, final int crc,
final byte[] bytes) {
this.length = length;