diff --git a/build.gradle b/build.gradle index 6d11f3fe0..1ab00ead8 100644 --- a/build.gradle +++ b/build.gradle @@ -137,7 +137,7 @@ dependencies { } // Config for our code analytics from: https://github.com/MovingBlocks/TeraConfig - codeMetrics group: 'org.terasology.config', name: 'codemetrics', version: '1.4.0', ext: 'zip' + codeMetrics group: 'org.terasology.config', name: 'codemetrics', version: '1.5.1', ext: 'zip' } configurations.matching({ it =~ ~/test(Runtime|Compile|Implementation)Classpath/ }).all { diff --git a/src/main/java/org/terasology/launcher/gui/javafx/ApplicationController.java b/src/main/java/org/terasology/launcher/gui/javafx/ApplicationController.java index f81de279e..e41905d21 100644 --- a/src/main/java/org/terasology/launcher/gui/javafx/ApplicationController.java +++ b/src/main/java/org/terasology/launcher/gui/javafx/ApplicationController.java @@ -160,10 +160,10 @@ public void initialize() { /** * Initialize the combo boxes for version selection by setting up bindings and properties. - * + *

* This happens after the FXML elements have been initialized, but before managers and other dependencies have been * "injected" to this controller. - * + *

* The combo boxes are configured with custom {@link javafx.scene.control.ListCell} implementations to display * human-readable representations of game profiles and game releases. We also bind which game releases are visible * to the selected profile, and derive the currently selected release from the combo box's selection model. @@ -219,10 +219,10 @@ private void initComboBoxes() { /** * Initialize buttons by setting up their bindings to observable values or properties. - * + *

* This happens after the FXML elements have been initialized, but before managers and other dependencies have been * "injected" to this controller. - * + *

* The buttons "Play", "Download", and "Cancel Download" share the space in the UI. We make sure that only one of * them is shown at the same time by deriving their visibility from the current {@link GameAction}. As JavaFX will * still occupy space for non-visible nodes, we also bind the {@code managedProperty} to the visibility (nodes that diff --git a/src/main/java/org/terasology/launcher/settings/Settings.java b/src/main/java/org/terasology/launcher/settings/Settings.java index bc6a2e5cf..0952a513a 100644 --- a/src/main/java/org/terasology/launcher/settings/Settings.java +++ b/src/main/java/org/terasology/launcher/settings/Settings.java @@ -12,7 +12,7 @@ //TODO: should this be called `SettingsController` and also carry out some UI handling, e.g., displaying error messages // to the user? -public class Settings { +public final class Settings { public static final String DEFAULT_FILE_NAME = "TerasologyLauncherSettings.properties"; private static final Logger logger = LoggerFactory.getLogger(Settings.class);