Skip to content

Commit 2f087e1

Browse files
committed
Java: Allow <> in types for now.
1 parent 3f538e7 commit 2f087e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/semmle/code/java/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ module CsvValidation {
481481
not namespace.regexpMatch("[a-zA-Z0-9_\\.]+") and
482482
msg = "Dubious namespace \"" + namespace + "\" in " + pred + " model."
483483
or
484-
not type.regexpMatch("[a-zA-Z0-9_\\$]+") and
484+
not type.regexpMatch("[a-zA-Z0-9_\\$<>]+") and
485485
msg = "Dubious type \"" + type + "\" in " + pred + " model."
486486
or
487487
not name.regexpMatch("[a-zA-Z0-9_]*") and

0 commit comments

Comments
 (0)