mirror of
https://github.com/github/codeql.git
synced 2026-03-27 09:48:16 +01:00
Java: Allow empty package name in model definitions.
This commit is contained in:
@@ -549,7 +549,7 @@ module ModelValidation {
|
||||
ext = "" and
|
||||
pred = "negative summary"
|
||||
|
|
||||
not package.regexpMatch("[a-zA-Z0-9_\\.]+") and
|
||||
not package.regexpMatch("[a-zA-Z0-9_\\.]*") and
|
||||
result = "Dubious package \"" + package + "\" in " + pred + " model."
|
||||
or
|
||||
not type.regexpMatch("[a-zA-Z0-9_\\$<>]+") and
|
||||
|
||||
Reference in New Issue
Block a user