File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
lesson_17/bank/bank_app/src/main/java/com/codedifferently/lesson17/bank Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
package com .codedifferently .lesson17 .bank ;
2
2
3
+ import com .codedifferently .lesson17 .bank .exceptions .AccountNotFoundException ;
3
4
import java .util .HashMap ;
4
5
import java .util .Map ;
5
6
import java .util .Set ;
6
7
import java .util .UUID ;
7
8
8
- import com .codedifferently .lesson17 .bank .exceptions .AccountNotFoundException ;
9
-
10
9
/** Represents a bank ATM. */
11
10
public class BankAtm {
12
11
@@ -70,9 +69,8 @@ public void depositFunds(String accountNumber, Check check) {
70
69
*
71
70
* @param accountNumber The unique identifier of the account.
72
71
* @param amount The amount to withdraw from the account.
73
- *
74
- * @throws IllegalArgumentException if the account is not found or if the withdrawal
75
- * would result in a balance below $10,000 for a BusinessCheckingAccount.
72
+ * @throws IllegalArgumentException if the account is not found or if the withdrawal would result
73
+ * in a balance below $10,000 for a BusinessCheckingAccount.
76
74
*/
77
75
public void withdrawFunds (String accountNumber , double amount ) {
78
76
CheckingAccount account = getAccountOrThrow (accountNumber );
You can’t perform that action at this time.
0 commit comments