Skip to content

Commit b899040

Browse files
authored
[java/need-for-speed] Update analyzer comment (#2360)
This updates the comment to reflect that there are other comparison operators (other than `<=`) that could be used and to hint more methods could be added as needed. This is for exercism/java-analyzer#216
1 parent 49b9ac2 commit b899040

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# avoid loops
22

3-
Instead of using a loop, consider returning a single expression using the `<=` operator.
4-
You can re-use the other methods already implemented in the class.
3+
Instead of using a loop, consider using a single expression based on one of the comparison operators (i.e. `<=`, `>=`, `<`, `>`, etc.).
4+
You can re-use the other methods already implemented in the class or add new ones as needed.

0 commit comments

Comments
 (0)