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:02 UTC

[commons-imaging] branch master updated (a8390a1d -> 50446353)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git


    from a8390a1d Better exception handling
     new c9398242 Bump tests commons-io:commons-io 2.6 to 2.12.0
     new 50446353 Javadoc, format tweak

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                                            | 2 +-
 src/changes/changes.xml                                            | 3 +++
 .../apache/commons/imaging/formats/png/chunks/PngChunkIccp.java    | 7 +++----
 3 files changed, 7 insertions(+), 5 deletions(-)


[commons-imaging] 02/02: Javadoc, format tweak

Posted by gg...@apache.org.
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");


[commons-imaging] 01/02: Bump tests commons-io:commons-io 2.6 to 2.12.0

Posted by gg...@apache.org.
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 c9398242b90a95f4573b3e9088f2b15f54caac19
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 17 11:15:47 2023 -0400

    Bump tests commons-io:commons-io 2.6 to 2.12.0
---
 pom.xml                 | 2 +-
 src/changes/changes.xml | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index d720bd4f..332af64a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -227,7 +227,7 @@
     <dependency>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
-      <version>2.11.0</version>
+      <version>2.12.0</version>
     </dependency>
     <dependency>
       <groupId>org.openjdk.jol</groupId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d1ff8cdb..6fd798ea 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -88,6 +88,9 @@ The <action> type attribute can be add,update,fix,remove.
       <action dev="kinow" type="update" due-to="Dependabot">
         Bump maven-checkstyle plugin from 3.1.2 to 3.2.1 #233, #266.
       </action>
+      <action type="update" due-to="Gary Gregory">
+        Bump tests commons-io:commons-io 2.6 to 2.12.0.
+      </action>
       <action issue="IMAGING-347" dev="kinow" type="update" due-to="snumlautoken">
         Refactor BasicCParser::unescapeString().
       </action>