Skip to content

Commit 682d4e4

Browse files
committed
fix: format code for consistency in BusinessCheckingAccount class
1 parent 9bc4c16 commit 682d4e4

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/BusinessCheckingAccount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private void validateBusinessOwners() {
1717
boolean hasBusinessOwner = getOwners().stream()
1818
.anyMatch(Customer::isBusiness);
1919

20-
if(!hasBusinessOwner) {
20+
if (!hasBusinessOwner) {
2121
throw new IllegalArgumentException("At least one owner must be a business.");
2222
}
2323
}

0 commit comments

Comments
 (0)