Skip to content

Commit

Permalink
Update Transfer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
JitseGoutbeek authored Jun 28, 2024
1 parent de336b0 commit c83fc57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class Transfer {
public Transfer(CheckingAccount acct1, CheckingAccount acct2, Money m) {}

@SuppressWarnings("unused")
public Transfer(SavingsAccount acct1, CheckingAccount acct2, Money m) {}
public Transfer(SavingsAccount acct1, SavingAccount acct2, Money m) {}

public CheckingAccount getCounterAccount() {
return this.counterAccount;
Expand Down

0 comments on commit c83fc57

Please sign in to comment.