We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e4aaf commit 42411fdCopy full SHA for 42411fd
java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll
@@ -555,7 +555,7 @@ module ModelValidation {
555
not type.regexpMatch("[a-zA-Z0-9_\\$<>]+") and
556
result = "Dubious type \"" + type + "\" in " + pred + " model."
557
or
558
- not name.regexpMatch("[a-zA-Z0-9_]*") and
+ not name.regexpMatch("[a-zA-Z0-9_\\-]*") and
559
result = "Dubious name \"" + name + "\" in " + pred + " model."
560
561
not signature.regexpMatch("|\\([a-zA-Z0-9_\\.\\$<>,\\[\\]]*\\)") and
0 commit comments