Skip to content

Commit

Permalink
fixed compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
age-77 committed Dec 3, 2020
1 parent b2b0bd1 commit 58de88f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private GVTAN2Step hktanProcess2(HBCITwoStepMechanism hbciTwoStepMechanism) {
}

Konto getHbciKonto() {
return Account()
return getPsuAccount()
.map(account -> {
String accountNumber = account.getAccountNumber() != null
? account.getAccountNumber()
Expand All @@ -266,7 +266,7 @@ private Konto getFirstAccount() {
.orElse(null);
}

private OptiongetPsual<BankAccount> getPsuAccount() {
private Optional<BankAccount> getPsuAccount() {
return Optional.ofNullable(transactionRequest.getTransaction().getPsuAccount());
}

Expand Down

0 comments on commit 58de88f

Please sign in to comment.