Skip to content

Commit 3683eb5

Browse files
author
Martin Plieske
committed
made last little changes for pull request
1 parent e194f69 commit 3683eb5

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/main/java/de/doubleslash/keeptime/view/SettingsController.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ public class SettingsController {
4747
AboutController aboutController;
4848
Stage aboutStage;
4949

50-
private static final String OS_NAME = "os.name";
51-
5250
@FXML
5351
private ColorPicker hoverBackgroundColor;
5452
@FXML
@@ -127,12 +125,8 @@ private void initialize() {
127125
LOG.warn("hotkeyLabel is null");
128126
}
129127

130-
if (globalKeyloggerLabel != null) {
131-
LOG.debug("globalKeyloggerLabel is initialized");
132-
globalKeyloggerLabel.setDisable(true);
133-
} else {
134-
LOG.warn("globalKeyloggerLabel is null");
135-
}
128+
LOG.debug("globalKeyloggerLabel is initialized");
129+
globalKeyloggerLabel.setDisable(true);
136130
}
137131

138132
LOG.debug("saveButton.setOnAction");
@@ -190,7 +184,7 @@ private void initialize() {
190184
thisStage.close();
191185
});
192186

193-
LOG.debug("reset*Button.setOnAction");
187+
LOG.debug("resetButton.setOnAction");
194188
resetHoverBackgroundButton
195189
.setOnAction(ae -> hoverBackgroundColor.setValue(Model.ORIGINAL_HOVER_BACKGROUND_COLOR));
196190
resetHoverFontButton.setOnAction(ae -> hoverFontColor.setValue(Model.ORIGINAL_HOVER_Font_COLOR));

0 commit comments

Comments
 (0)