Skip to content

Commit a3717f0

Browse files
author
Lê Nam Khánh
authored
chore: fix typos in src/main/java/com/thealgorithms/others/IterativeFloodFill.java (#7042)
Fix typos in src/main/java/com/thealgorithms/others/IterativeFloodFill.java
1 parent c42e73b commit a3717f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/thealgorithms/others/IterativeFloodFill.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ private IterativeFloodFill() {
3232
* Iteratively fill the 2D image with new color
3333
*
3434
* @param image The image to be filled
35-
* @param x The x co-ordinate at which color is to be filled
36-
* @param y The y co-ordinate at which color is to be filled
35+
* @param x The x coordinate at which color is to be filled
36+
* @param y The y coordinate at which color is to be filled
3737
* @param newColor The new color which to be filled in the image
3838
* @param oldColor The old color which is to be replaced in the image
3939
* @see <a href=https://www.geeksforgeeks.org/dsa/flood-fill-algorithm>FloodFill BFS<a/>
@@ -86,8 +86,8 @@ private static class Point {
8686
* Checks if a pixel should be skipped during flood fill operation.
8787
*
8888
* @param image The image to get boundaries
89-
* @param x The x co-ordinate of pixel to check
90-
* @param y The y co-ordinate of pixel to check
89+
* @param x The x coordinate of pixel to check
90+
* @param y The y coordinate of pixel to check
9191
* @param oldColor The old color which is to be replaced in the image
9292
* @return {@code true} if pixel should be skipped, else {@code false}
9393
*/

0 commit comments

Comments
 (0)