Skip to content

Commit ba031fa

Browse files
author
“Tezz03”
committed
fix:made the isCheckCreationAllowed variable final in Savings Account file
1 parent 98052f7 commit ba031fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/** Represents a saving account. */
88
public class SavingsAccount extends BankAccount {
99
// private boolean isActive;
10-
private boolean isCheckCreationAllowed;
10+
private final boolean isCheckCreationAllowed;
1111
private static final Logger logger = LoggerFactory.getLogger(SavingsAccount.class);
1212

1313
/**

0 commit comments

Comments
 (0)