Skip to content

Commit ff2947a

Browse files
committed
Adjust query name
1 parent 041adcd commit ff2947a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/ql/src/Performance/StringReplaceAllWithNonRegex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# J-STR-001: Use of `String.replaceAll` with a first argument of a non regular expression
1+
# Use of `String#replaceAll` with a first argument which is not a regular expression
22

33
Using `String.replaceAll` is less performant than `String.replace` when the first argument is not a regular expression.
44

java/ql/src/Performance/StringReplaceAllWithNonRegex.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @id java/string-replace-all-with-non-regex
3-
* @name J-STR-001: Use of `String#replaceAll` with a first argument of a non regular expression
3+
* @name Use of `String#replaceAll` with a first argument which is not a regular expression
44
* @description Using `String#replaceAll` is less performant than `String#replace` when the first
55
* argument is not a regular expression.
66
* @kind problem

0 commit comments

Comments
 (0)