mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Java: Improve QLDoc & simplify code
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
@@ -97,9 +97,7 @@ private class FlagType extends Type {
|
||||
FlagType() {
|
||||
this instanceof TypeString
|
||||
or
|
||||
exists(BoxedType boxedBoolean | boxedBoolean.getPrimitiveType().hasName("boolean") |
|
||||
this = boxedBoolean or this = boxedBoolean.getPrimitiveType()
|
||||
)
|
||||
this instanceof BooleanType
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user