From d1b71f75550bfcdc4d69da7f87600dd92a8dae39 Mon Sep 17 00:00:00 2001 From: manumafe98 Date: Wed, 28 Feb 2024 18:59:45 -0300 Subject: [PATCH] Updating Two Fer analyzer comment to use string concatenation to informative --- exercises/practice/two-fer/.meta/design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/two-fer/.meta/design.md b/exercises/practice/two-fer/.meta/design.md index ada1aa6b4..e15f4e956 100644 --- a/exercises/practice/two-fer/.meta/design.md +++ b/exercises/practice/two-fer/.meta/design.md @@ -19,7 +19,7 @@ This exercise could benefit from the following rules in the [analyzer]: ``` - `actionable`: If the solution uses an `if` statement, instruct the student to use a ternary expression instead. -- `actionable`: If the solution uses `String.format`, instruct the student to use simple string concatenation instead. +- `informative`: If the solution uses `String.format`, instruct the student to use simple string concatenation instead. Explain that `String.format` is significantly slower than concatenating strings and should be used in more complex scenarios. [analyzer]: https://github.com/exercism/java-analyzer