Fix punctuation

This commit is contained in:
Owen Mansel-Chan
2025-03-26 10:19:31 +00:00
parent c4e56b1ec8
commit 626a7d5007
2 changed files with 2 additions and 2 deletions

View File

@@ -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).

View File

@@ -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"