mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Fix punctuation
This commit is contained in:
@@ -26,4 +26,4 @@ public class Test {
|
||||
## References
|
||||
|
||||
- Java SE Documentation: [String.replaceAll](https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/lang/String.html#replaceAll(java.lang.String,java.lang.String)).
|
||||
- Common Weakness Enumeration: [CWE-1176](https://cwe.mitre.org/data/definitions/1176.html)
|
||||
- Common Weakness Enumeration: [CWE-1176](https://cwe.mitre.org/data/definitions/1176.html).
|
||||
|
||||
@@ -19,5 +19,5 @@ where
|
||||
//only contains characters that could be a simple string
|
||||
firstArg.getValue().regexpMatch("^[a-zA-Z0-9]+$")
|
||||
select replaceAllCall,
|
||||
"This call to 'replaceAll' should be a call `replace` as its $@ is not a regular expression.",
|
||||
"This call to 'replaceAll' should be a call to 'replace' as its $@ is not a regular expression.",
|
||||
firstArg, "first argument"
|
||||
|
||||
Reference in New Issue
Block a user