mirror of
https://github.com/github/codeql.git
synced 2026-04-22 07:15:15 +02:00
Adjust query name
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user