|
17 | 17 | package de.doubleslash.keeptime.view; |
18 | 18 |
|
19 | 19 | import java.io.File; |
20 | | -import java.io.IOException; |
21 | 20 | import java.nio.file.Paths; |
22 | 21 | import java.sql.SQLException; |
23 | 22 | import java.util.Comparator; |
@@ -123,9 +122,6 @@ public class SettingsController { |
123 | 122 |
|
124 | 123 | @FXML |
125 | 124 | private AnchorPane settingsRoot; |
126 | | - private static final String GITHUB_PAGE = "https://www.github.com/doubleSlashde/KeepTime"; |
127 | | - private static final String GITHUB_ISSUE_PAGE = GITHUB_PAGE + "/issues"; |
128 | | - private static final Color HYPERLINK_COLOR = Color.rgb(0, 115, 170); |
129 | 125 |
|
130 | 126 | @FXML |
131 | 127 | private Hyperlink gitHubHyperlink; |
@@ -157,11 +153,14 @@ public class SettingsController { |
157 | 153 | @FXML |
158 | 154 | private Region aboutIcon; |
159 | 155 | @FXML |
160 | | - private Region importexportIcon; |
| 156 | + private Region importExportIcon; |
161 | 157 |
|
162 | 158 | @FXML |
163 | 159 | private Region licensesIcon; |
164 | 160 |
|
| 161 | + private static final String GITHUB_PAGE = "https://www.github.com/doubleSlashde/KeepTime"; |
| 162 | + private static final String GITHUB_ISSUE_PAGE = GITHUB_PAGE + "/issues"; |
| 163 | + private static final Color HYPERLINK_COLOR = Color.rgb(0, 115, 170); |
165 | 164 | private final ApplicationProperties applicationProperties; |
166 | 165 |
|
167 | 166 | private static final Logger LOG = LoggerFactory.getLogger(SettingsController.class); |
@@ -206,7 +205,7 @@ private void initialize() { |
206 | 205 | setRegionSvg(layoutIcon,requiredWidth, requiredHeight,RESOURCE.SVG_LAYOUT_ICON); |
207 | 206 | setRegionSvg(generalIcon,requiredWidth,requiredHeight,RESOURCE.SVG_SETTINGS_ICON); |
208 | 207 | setRegionSvg(aboutIcon,requiredWidth,requiredHeight,RESOURCE.SVG_ABOUT_ICON); |
209 | | - setRegionSvg(importexportIcon,requiredWidth,requiredHeight,RESOURCE.SVG_IMPORT_EXPORT_ICON); |
| 208 | + setRegionSvg(importExportIcon,requiredWidth,requiredHeight,RESOURCE.SVG_IMPORT_EXPORT_ICON); |
210 | 209 | setRegionSvg(licensesIcon,requiredWidth,requiredHeight,RESOURCE.SVG_LICENSES_ICON); |
211 | 210 |
|
212 | 211 | initExportButton(); |
@@ -292,7 +291,7 @@ private void initialize() { |
292 | 291 | initializeAbout(); |
293 | 292 | } |
294 | 293 |
|
295 | | - private static void setRegionSvg(Region region, Double requiredWidth, Double requiredHeight, RESOURCE resource) { |
| 294 | + private static void setRegionSvg(Region region, double requiredWidth, double requiredHeight, RESOURCE resource) { |
296 | 295 |
|
297 | 296 | region.setShape(SvgNodeProvider.getSvgNodeWithScale(resource,1.0,1.0)); |
298 | 297 | region.setMinSize(requiredWidth, requiredHeight); |
|
0 commit comments