mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
Add EnumType to SimpleTypeSanitizer
This commit is contained in:
@@ -23,6 +23,7 @@ class SimpleTypeSanitizer extends DataFlow::Node {
|
||||
this.getType()
|
||||
.(RefType)
|
||||
.getASourceSupertype*()
|
||||
.hasQualifiedName("java.time.temporal", "TemporalAccessor")
|
||||
.hasQualifiedName("java.time.temporal", "TemporalAccessor") or
|
||||
this.getType() instanceof EnumType
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user