Skip to content

Commit 190d6f0

Browse files
committed
chore: './gradlew :bank_app:spotlessApply' check
1 parent ad67a21 commit 190d6f0

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import java.util.Set;
44

5-
/**
6-
* Represents a savings account, which is a specialized type of checking account.
7-
* Inherits the behavior and properties of the CheckingAccount class.
5+
/**
6+
* Represents a savings account, which is a specialized type of checking account. Inherits the
7+
* behavior and properties of the CheckingAccount class.
88
*/
99
public class SavingsAccount extends CheckingAccount {
1010

@@ -16,13 +16,15 @@ public class SavingsAccount extends CheckingAccount {
1616
* @param initialBalance The initial balance to set for the account.
1717
*/
1818
public SavingsAccount(String accountNumber, Set<Customer> owners, double initialBalance) {
19-
super(accountNumber, owners, initialBalance); // Call the superclass constructor to initialize common fields
19+
super(
20+
accountNumber,
21+
owners,
22+
initialBalance); // Call the superclass constructor to initialize common fields
2023
}
2124

2225
/**
23-
* Deposits funds into the savings account.
24-
* This method overrides the deposit method in CheckingAccount, but currently
25-
* it behaves the same way as the parent class.
26+
* Deposits funds into the savings account. This method overrides the deposit method in
27+
* CheckingAccount, but currently it behaves the same way as the parent class.
2628
*
2729
* @param amount The amount to deposit into the savings account.
2830
*/

0 commit comments

Comments
 (0)