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 62591aa0bf93f94d09045fd88de3bbf2009d5f90
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jul 4 09:55:40 2023 -0400

    Fix name for exception message
---
 src/main/java/org/apache/commons/imaging/palette/ColorGroup.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/imaging/palette/ColorGroup.java 
b/src/main/java/org/apache/commons/imaging/palette/ColorGroup.java
index dee0a3fd..88e9e9ac 100644
--- a/src/main/java/org/apache/commons/imaging/palette/ColorGroup.java
+++ b/src/main/java/org/apache/commons/imaging/palette/ColorGroup.java
@@ -53,7 +53,7 @@ class ColorGroup {
         this.ignoreAlpha = ignoreAlpha;
 
         if (colorCounts.isEmpty()) {
-            throw new ImagingException("Empty color_group");
+            throw new ImagingException("Empty colorCounts");
         }
 
         int total = 0;

Reply via email to