Conversation
| //constructor to set oval size; | ||
| public EraserTool(int size) { | ||
| this.size = size; | ||
| stroke = new BasicStroke (size); |
There was a problem hiding this comment.
'(' is preceded with whitespace.
|
I don't know why it's saying the build is failing... it's not giving me error messages in IntelliJ as far as I can tell. it seems to work |
|
oh I see the issue but I don't see how to solve it while still using the recursions? it's a stack overflow error |
| } | ||
|
|
||
| public void fillBucket(BufferedImage image, int x, int y, int target, int replace) { | ||
| if (x < 0 || x >= image.getWidth() || y < 0 || y >= image.getHeight() || image.getRGB(x, y) != target || fillCount > 1000) { |
There was a problem hiding this comment.
Line is longer than 120 characters (found 132).
| } | ||
|
|
||
| public void fillBucket(BufferedImage image, int x, int y, int target, int replace) { | ||
| if (x < 0 || x >= image.getWidth() || y < 0 || |
There was a problem hiding this comment.
'||' should be on a new line.

No description provided.