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 a647432ca33969269b1a583dd560bcfe42dcfe76 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Fri Feb 21 21:16:44 2025 -0500 Javadoc --- .../java/org/apache/commons/imaging/color/ColorCieLab.java | 12 ++++++++++++ .../apache/commons/imaging/palette/ColorCountComparator.java | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/imaging/color/ColorCieLab.java b/src/main/java/org/apache/commons/imaging/color/ColorCieLab.java index 9c8dca74..ca48ad37 100644 --- a/src/main/java/org/apache/commons/imaging/color/ColorCieLab.java +++ b/src/main/java/org/apache/commons/imaging/color/ColorCieLab.java @@ -83,10 +83,22 @@ public final class ColorCieLab { */ public static final ColorCieLab BLUE = new ColorCieLab(32, 79, -108); + /** lightness L*. */ public final double l; + + /** a* value. */ public final double a; + + /** b* value. */ public final double b; + /** + * Constructs a new instance. + * + * @param l perceptual lightness L*. + * @param a a* value. + * @param b b* value. + */ public ColorCieLab(final double l, final double a, final double b) { this.l = l; this.a = a; diff --git a/src/main/java/org/apache/commons/imaging/palette/ColorCountComparator.java b/src/main/java/org/apache/commons/imaging/palette/ColorCountComparator.java index 8d8a6e8a..a8aced28 100644 --- a/src/main/java/org/apache/commons/imaging/palette/ColorCountComparator.java +++ b/src/main/java/org/apache/commons/imaging/palette/ColorCountComparator.java @@ -27,7 +27,7 @@ import java.util.Objects; * </p> * * <p> - * For example, if the comparator is created for the {@code ColorComponent.RED} channel, then it will compare the value of red of each {@code ColorCount} object + * For example, if the comparator is created for the {@link ColorComponent#RED} channel, then it will compare the value of red of each {@code ColorCount} object * in the array of elements. * </p> *