Skip to content

Commit 9ee8cd9

Browse files
committed
docs: update bank-account design.md
1 parent 48c514a commit 9ee8cd9

File tree

1 file changed

+3
-1
lines changed
  • exercises/practice/bank-account/.meta

1 file changed

+3
-1
lines changed

exercises/practice/bank-account/.meta/design.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Analyzer
44

5-
This exercise could benefit from the following rules in the [analyzer](https://github.com/exercism/java-analyzer):
5+
This exercise could benefit from the following rules in the [analyzer]:
66

77
- `essential`: Verify that the solution **guards `deposit`, `withdraw`, and `getBalance` with `synchronized`** to avoid
88
race conditions.
@@ -12,3 +12,5 @@ This exercise could benefit from the following rules in the [analyzer](https://g
1212
- `essential`: If the solution **does not throw an exception when `amount` exceeds `balance` during withdrawal**,
1313
instruct the student to add this check.
1414
- `actionable`: Verify that the solution **declares exactly one `boolean`/`Boolean` field to track account state**; if the count is zero or greater than one, instruct the student to use exactly one such field.
15+
16+
[analyzer]: https://github.com/exercism/java-analyzer

0 commit comments

Comments
 (0)