reformatting

This commit is contained in:
Armin Schrenk
2019-07-24 17:12:51 +02:00
parent 1a5853766a
commit 8d6cf9581b
2 changed files with 5 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ public abstract class AddVaultModule {
@Provides
@AddVaultWizardScoped
static ObjectProperty<Path> provideVaultPath(){
static ObjectProperty<Path> provideVaultPath() {
return new SimpleObjectProperty<>();
}
@@ -66,6 +66,6 @@ public abstract class AddVaultModule {
@IntoMap
@FxControllerKey(ChooseExistingVaultController.class)
abstract FxController bindChooseExistingVaultController(ChooseExistingVaultController controller);
}

View File

@@ -46,10 +46,10 @@ public class VaultListController implements FxController {
public void didClickRemoveVault() {
//TODO: Dialogue
if(selectedVault.get() != null){
if (selectedVault.get() != null) {
vaults.remove(selectedVault.get());
LOG.debug("Removing vault {}.",selectedVault.get().getDisplayableName());
} else{
LOG.debug("Removing vault {}.", selectedVault.get().getDisplayableName());
} else {
LOG.debug("Cannot remove a vault if none is selected.");
}
}