mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
use set literal instead of big disjunction of literals
This commit is contained in:
@@ -14,11 +14,7 @@
|
||||
import java
|
||||
|
||||
private string suspicious() {
|
||||
result = "%password%" or
|
||||
result = "%passwd%" or
|
||||
result = "%account%" or
|
||||
result = "%accnt%" or
|
||||
result = "%trusted%"
|
||||
result = ["%password%", "%passwd%", "%account%", "%accnt%", "%trusted%"]
|
||||
}
|
||||
|
||||
private string nonSuspicious() {
|
||||
|
||||
Reference in New Issue
Block a user