Java: Improve QLDoc & simplify code

Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
intrigus-lgtm
2021-01-11 18:50:43 +01:00
committed by GitHub
parent 5c1e746c96
commit 4cfdb10ddc
2 changed files with 4 additions and 6 deletions

View File

@@ -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
}
}