Adjust query name

This commit is contained in:
Owen Mansel-Chan
2025-03-25 11:34:39 +00:00
parent 041adcd63a
commit ff2947a0e5
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# J-STR-001: Use of `String.replaceAll` with a first argument of a non regular expression
# Use of `String#replaceAll` with a first argument which is not a regular expression
Using `String.replaceAll` is less performant than `String.replace` when the first argument is not a regular expression.

View File

@@ -1,6 +1,6 @@
/**
* @id java/string-replace-all-with-non-regex
* @name J-STR-001: Use of `String#replaceAll` with a first argument of a non regular expression
* @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.
* @kind problem