Tweak documentation

This commit is contained in:
Owen Mansel-Chan
2025-03-31 22:45:02 +01:00
parent 3ea5cc1b66
commit ad89e7980e
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
/**
* @id java/string-replace-all-with-non-regex
* @name Use of `String#replaceAll` with a first argument which is not a regular expression
* @description Using `String#replaceAll` is less performant than `String#replace` when the first
* argument is not a regular expression.
* @description Using `String#replaceAll` with a first argument which is not a regular expression
* is less efficient than using `String#replace`.
* @kind problem
* @precision very-high
* @problem.severity recommendation