You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/practice/bank-account/.meta/design.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Analyzer
4
4
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]:
6
6
7
7
-`essential`: Verify that the solution **guards `deposit`, `withdraw`, and `getBalance` with `synchronized`** to avoid
8
8
race conditions.
@@ -12,3 +12,5 @@ This exercise could benefit from the following rules in the [analyzer](https://g
12
12
-`essential`: If the solution **does not throw an exception when `amount` exceeds `balance` during withdrawal**,
13
13
instruct the student to add this check.
14
14
-`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.
0 commit comments