Skip to content

Commit cc804ea

Browse files
ddamkeddamke
authored andcommitted
add log statement when option is used
1 parent 64bb287 commit cc804ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,10 @@ private void initImportButton() {
392392
final String username = applicationProperties.getSpringDataSourceUserName();
393393
final String password = applicationProperties.getSpringDataSourcePassword();
394394

395-
if (file.getName().contains("version-1")) {
395+
if (file.getName().contains("H2-version-1")) {
396396
new RunScript().runTool("-url", url, "-user", username, "-password", password, "-script", file.toString(),
397397
"-options", "FROM_1X");
398+
LOG.info("FROM_1X feature is used");
398399
}else {
399400
new RunScript().runTool("-url", url, "-user", username, "-password", password, "-script", file.toString());
400401
}

0 commit comments

Comments
 (0)