Skip to content

Commit 098daf2

Browse files
authored
Expanding analyzer comment possibilities for log levels message and loglevel methods (#2770)
1 parent 0d27485 commit 098daf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/log-levels/.meta/design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This exercise could benefit from the following rules in the [analyzer]:
2929

3030
- `essential`: Verify that the solution does not hard-code the log levels (`[ERROR]:`, `[WARNING]:`, `[INFO]:`)
3131
- `actionable`: If the student did not reuse the implementation of the `message` and `logLevel` methods in the `reformat` method, instruct them to do so.
32-
- `actionable`: If the solution did not use `substring` in the methods `message` and `logLevel`, instruct the student to do so.
32+
- `actionable`: If the solution did not use `split` or `substring` in the methods `message` and `logLevel`, instruct the student to do so.
3333
- `informative`: If the solution uses `String.format` in the `reformat` method, inform the student that this cause a small performance penalty compared to string concatenation.
3434

3535
If the solution does not receive any of the above feedback, it must be exemplar.

0 commit comments

Comments
 (0)