Skip to content

Commit 2684a8c

Browse files
committed
Javadoc and comments
1 parent 4749d4b commit 2684a8c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/java/org/apache/commons/imaging/color/ColorConversions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static ColorCieLch convertCieLabToCieLch(final ColorCieLab cielab) {
8383
}
8484

8585
public static ColorCieLch convertCieLabToCieLch(final double l, final double a, final double b) {
86-
// atan2(y,x) returns atan(y/x)
86+
// atan2(y, x) returns atan(y/x)
8787
final double atanba = Math.atan2(b, a); // Quadrant by signs
8888

8989
final double h = atanba > 0 //

src/main/java/org/apache/commons/imaging/common/ImageBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public int getHeight() {
157157
}
158158

159159
/**
160-
* 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
160+
* 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
161161
* applied.
162162
*
163163
* @param x the X coordinate of the pixel to be read
@@ -246,7 +246,7 @@ private BufferedImage makeBufferedImage(final int[] argb, final int w, final int
246246
}
247247

248248
/**
249-
* 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.
249+
* 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.
250250
*
251251
* @param x the X coordinate of the pixel to be set.
252252
* @param y the Y coordinate of the pixel to be set.

src/main/java/org/apache/commons/imaging/formats/tiff/photometricinterpreters/floatingpoint/PhotometricInterpreterFloat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public float getMaxFound() {
147147
}
148148

149149
/**
150-
* Gets the coordinates (x,y) at which the maximum value was identified during processing
150+
* Gets the coordinates (x, y) at which the maximum value was identified during processing
151151
*
152152
* @return a valid array of length 2.
153153
*/
@@ -177,7 +177,7 @@ public float getMinFound() {
177177
}
178178

179179
/**
180-
* Gets the coordinates (x,y) at which the minimum value was identified during processing
180+
* Gets the coordinates (x, y) at which the minimum value was identified during processing
181181
*
182182
* @return a valid array of length 2.
183183
*/

0 commit comments

Comments
 (0)