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
The following commit(s) were added to refs/heads/master by this push:
new 2684a8c7 Javadoc and comments
2684a8c7 is described below
commit 2684a8c722a8f9ca88b417ec3a67c1b345d9b4ae
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Dec 21 15:34:31 2025 -0500
Javadoc and comments
---
src/main/java/org/apache/commons/imaging/color/ColorConversions.java | 2 +-
src/main/java/org/apache/commons/imaging/common/ImageBuilder.java | 4 ++--
.../floatingpoint/PhotometricInterpreterFloat.java | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/src/main/java/org/apache/commons/imaging/color/ColorConversions.java
b/src/main/java/org/apache/commons/imaging/color/ColorConversions.java
index f2c37ac7..4115e527 100644
--- a/src/main/java/org/apache/commons/imaging/color/ColorConversions.java
+++ b/src/main/java/org/apache/commons/imaging/color/ColorConversions.java
@@ -83,7 +83,7 @@ public final class ColorConversions {
}
public static ColorCieLch convertCieLabToCieLch(final double l, final
double a, final double b) {
- // atan2(y,x) returns atan(y/x)
+ // atan2(y, x) returns atan(y/x)
final double atanba = Math.atan2(b, a); // Quadrant by signs
final double h = atanba > 0 //
diff --git a/src/main/java/org/apache/commons/imaging/common/ImageBuilder.java
b/src/main/java/org/apache/commons/imaging/common/ImageBuilder.java
index f7a5e240..c038b9fe 100644
--- a/src/main/java/org/apache/commons/imaging/common/ImageBuilder.java
+++ b/src/main/java/org/apache/commons/imaging/common/ImageBuilder.java
@@ -157,7 +157,7 @@ public final class ImageBuilder {
}
/**
- * Gets the RGB or ARGB value for the pixel at the position (x,y) within
the image builder pixel field. For performance reasons no bounds checking is
+ * Gets the RGB or ARGB value for the pixel at the position (x, y) within
the image builder pixel field. For performance reasons no bounds checking is
* applied.
*
* @param x the X coordinate of the pixel to be read
@@ -246,7 +246,7 @@ public final class ImageBuilder {
}
/**
- * Sets the RGB or ARGB value for the pixel at position (x,y) within the
image builder pixel field. For performance reasons, no bounds checking is
applied.
+ * Sets the RGB or ARGB value for the pixel at position (x, y) within the
image builder pixel field. For performance reasons, no bounds checking is
applied.
*
* @param x the X coordinate of the pixel to be set.
* @param y the Y coordinate of the pixel to be set.
diff --git
a/src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java
b/src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java
index 804a3c36..7b2f7b82 100644
---
a/src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java
+++
b/src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java
@@ -147,7 +147,7 @@ public final class PhotometricInterpreterFloat extends
AbstractPhotometricInterp
}
/**
- * Gets the coordinates (x,y) at which the maximum value was identified
during processing
+ * Gets the coordinates (x, y) at which the maximum value was identified
during processing
*
* @return a valid array of length 2.
*/
@@ -177,7 +177,7 @@ public final class PhotometricInterpreterFloat extends
AbstractPhotometricInterp
}
/**
- * Gets the coordinates (x,y) at which the minimum value was identified
during processing
+ * Gets the coordinates (x, y) at which the minimum value was identified
during processing
*
* @return a valid array of length 2.
*/