Skip to content
Snippets Groups Projects
Commit 994070bc authored by Edvard Granheim Harbo's avatar Edvard Granheim Harbo
Browse files

Fixed checkstyle

parent 76a0372d
No related branches found
No related tags found
2 merge requests!54Final release,!49Added CanvasController
......@@ -15,8 +15,11 @@ import javafx.scene.paint.Color;
public class CanvasController {
// Private integer for the green and blue threshold.
private int greenThreshold, blueThreshold;
// Private integer for the green threshold.
private int greenThreshold;
// Private integer for the blue threshold.
private int blueThreshold;
/**
* Calculates the quantiles for the hits.
......
......@@ -193,7 +193,8 @@ public class AffineDialog {
dialog.close();
Platform.runLater(() -> {
if (gameController.getOutOfBoundsCount() > 0) {
UserFeedback.showErrorPopup("Error", gameController.getOutOfBoundsCount() + " pixels are out of bounds.");
UserFeedback.showErrorPopup("Error",
gameController.getOutOfBoundsCount() + " pixels are out of bounds.");
}
});
}
......
......@@ -131,7 +131,8 @@ public class JuliaDialog {
dialog.close();
Platform.runLater(() -> {
if (gameController.getOutOfBoundsCount() > 0) {
UserFeedback.showErrorPopup("Error", gameController.getOutOfBoundsCount() + " pixels are out of bounds.");
UserFeedback.showErrorPopup("Error",
gameController.getOutOfBoundsCount() + " pixels are out of bounds.");
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment