Skip to content

Commit 7026641

Browse files
chore: fix typos in src/main/java/com/thealgorithms/backtracking/FloodFill.java (#7046)
Fix typos in src/main/java/com/thealgorithms/backtracking/FloodFill.java
1 parent 5323084 commit 7026641

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/java/com/thealgorithms/backtracking/FloodFill.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ private FloodFill() {
1212
* Get the color at the given coordinates of a 2D image
1313
*
1414
* @param image The image to be filled
15-
* @param x The x co-ordinate of which color is to be obtained
16-
* @param y The y co-ordinate of which color is to be obtained
15+
* @param x The x coordinate of which color is to be obtained
16+
* @param y The y coordinate of which color is to be obtained
1717
*/
1818

1919
public static int getPixel(final int[][] image, final int x, final int y) {
@@ -24,8 +24,8 @@ public static int getPixel(final int[][] image, final int x, final int y) {
2424
* Put the color at the given coordinates of a 2D image
2525
*
2626
* @param image The image to be filled
27-
* @param x The x co-ordinate at which color is to be filled
28-
* @param y The y co-ordinate at which color is to be filled
27+
* @param x The x coordinate at which color is to be filled
28+
* @param y The y coordinate at which color is to be filled
2929
*/
3030
public static void putPixel(final int[][] image, final int x, final int y, final int newColor) {
3131
image[x][y] = newColor;
@@ -35,8 +35,8 @@ public static void putPixel(final int[][] image, final int x, final int y, final
3535
* Fill the 2D image with new color
3636
*
3737
* @param image The image to be filled
38-
* @param x The x co-ordinate at which color is to be filled
39-
* @param y The y co-ordinate at which color is to be filled
38+
* @param x The x coordinate at which color is to be filled
39+
* @param y The y coordinate at which color is to be filled
4040
* @param newColor The new color which to be filled in the image
4141
* @param oldColor The old color which is to be replaced in the image
4242
*/

0 commit comments

Comments
 (0)