Skip to content

Commit b9c341d

Browse files
committed
Fix: Allows Checks to pass on github
1 parent 387c5e1 commit b9c341d

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

lesson_17/bank/bank_app/src/main/java/com/codedifferently/lesson17/bank/SavingsAccount.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
package com.codedifferently.lesson17.bank;
22

3-
import java.util.Set;
4-
53
import com.codedifferently.lesson17.bank.exceptions.InsufficientFundsException;
4+
import java.util.Set;
65

76
/**
87
* The {@code SavingsAccount} class represents a savings account in a banking system. It extends the
@@ -51,9 +50,9 @@ && getBalance() == other.getBalance()
5150
/**
5251
* Will throw and exception if the user attempt to make a withdrawl while under the instance of
5352
* SavingsAccount.
54-
*
55-
* And the makes a second withdrawl that will check if there
56-
* is a check and throw an error if one comes in.
53+
*
54+
* <p>And the makes a second withdrawl that will check if there is a check and throw an error if
55+
* one comes in.
5756
*
5857
* @param amount The amount to deposit.
5958
*/

lesson_17/bank/bank_app/src/test/java/com/codedifferently/lesson17/bank/BankAtmTest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
package com.codedifferently.lesson17.bank;
22

3-
import java.util.Set;
4-
import java.util.UUID;
5-
63
import static org.assertj.core.api.Assertions.assertThat;
74
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
8-
import org.junit.jupiter.api.BeforeEach;
9-
import org.junit.jupiter.api.Test;
105

116
import com.codedifferently.lesson17.bank.exceptions.AccountNotFoundException;
127
import com.codedifferently.lesson17.bank.exceptions.CheckVoidedException;
8+
import java.util.Set;
9+
import java.util.UUID;
10+
import org.junit.jupiter.api.BeforeEach;
11+
import org.junit.jupiter.api.Test;
1312

1413
class BankAtmTest {
1514

0 commit comments

Comments
 (0)