From 5417a599e3952fcb317c5fc8211825207bee7c72 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 10 Oct 2015 10:50:58 +0200 Subject: Correct template methods package doc --- src/main/java/Color.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main/java/Color.java b/src/main/java/Color.java index 4597b26..9e05039 100644 --- a/src/main/java/Color.java +++ b/src/main/java/Color.java @@ -80,9 +80,7 @@ public final class Color { /** * Returns packed RGB components from given grayscale value. * - * @param red a float between 0.0 and 1.0 - * @param green a float between 0.0 and 1.0 - * @param blue a float between 0.0 and 1.0 + * @param gray a float between 0.0 and 1.0 * @return 32-bits RGB color * @see #getGray */ @@ -107,7 +105,7 @@ public final class Color { /** * Converts grayscale float image to packed RGB image. * - * @param channels a HxW float array + * @param gray a HxW float array * @return a HxW int array * @see #toGray * @see #getRGB(float) -- cgit v1.2.3