Add private empty constructor to static classes
This commit is contained in:
parent
e274ac5e87
commit
f89968d9d0
@ -5,6 +5,8 @@ import javafx.scene.control.Alert.AlertType;
|
|||||||
|
|
||||||
public class DialogBoxes {
|
public class DialogBoxes {
|
||||||
|
|
||||||
|
private DialogBoxes() {}
|
||||||
|
|
||||||
public static void showErrorMessage(String errorMessage) {
|
public static void showErrorMessage(String errorMessage) {
|
||||||
Alert error = new Alert(AlertType.ERROR);
|
Alert error = new Alert(AlertType.ERROR);
|
||||||
error.setContentText(errorMessage);
|
error.setContentText(errorMessage);
|
||||||
|
@ -14,7 +14,8 @@ import javafx.stage.Stage;
|
|||||||
|
|
||||||
public class FileOperations {
|
public class FileOperations {
|
||||||
|
|
||||||
// FIXME: This class contains bugs when opening fiies and folders.
|
private FileOperations() {}
|
||||||
|
|
||||||
// TODO: Needs documentation and cleanup
|
// TODO: Needs documentation and cleanup
|
||||||
// TODO: This class needs to be extensively error checked
|
// TODO: This class needs to be extensively error checked
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@ public class FiletreeOperations {
|
|||||||
|
|
||||||
private static int iconSize = 20;
|
private static int iconSize = 20;
|
||||||
|
|
||||||
|
private FiletreeOperations() {}
|
||||||
|
|
||||||
// TODO: Clean up code that is not in use
|
// TODO: Clean up code that is not in use
|
||||||
// TODO: Error check for recursiveness, and files without icons
|
// TODO: Error check for recursiveness, and files without icons
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@ import app.model.ProgrammingLanguage;
|
|||||||
* that implements {@link app.model.ProgrammingLanguage ProgrammingLanguage}
|
* that implements {@link app.model.ProgrammingLanguage ProgrammingLanguage}
|
||||||
*/
|
*/
|
||||||
public final class LanguageOperations {
|
public final class LanguageOperations {
|
||||||
|
|
||||||
|
private LanguageOperations() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use a matcher to find the styleclass of the next match
|
* Use a matcher to find the styleclass of the next match
|
||||||
|
Loading…
Reference in New Issue
Block a user