You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/05/17 15:16:04 UTC
[commons-imaging] 02/02: Javadoc, format tweak
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 50446353da1fa6f20c6e757a64ddf0136df24ce1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 17 11:15:57 2023 -0400
Javadoc, format tweak
---
.../apache/commons/imaging/formats/png/chunks/PngChunkIccp.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
index daeef98c..eef3a133 100644
--- a/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
+++ b/src/main/java/org/apache/commons/imaging/formats/png/chunks/PngChunkIccp.java
@@ -62,7 +62,8 @@ public class PngChunkIccp extends PngChunk {
private final byte[] uncompressedProfile;
/**
- * 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)
@@ -70,9 +71,7 @@ public class PngChunkIccp extends PngChunk {
* @throws ImagingException when no profile name is present
* @throws IOException when an error happens while reading the profile data
*/
- public PngChunkIccp(
- final int length, final int chunkType, final int crc, final byte[] bytes)
- throws ImagingException, IOException {
+ public PngChunkIccp(final int length, final int chunkType, final int crc, final byte[] bytes) throws ImagingException, IOException {
super(length, chunkType, crc, bytes);
final int index = BinaryFunctions.findNull(bytes, "PngChunkIccp: No Profile Name");