sender ! true
and
sender ! false
are generating "Boolean expression can be simplified" warnings by scalastyle.
How can I make these warnings go away?
sender ! true
and
sender ! false
are generating "Boolean expression can be simplified" warnings by scalastyle.
How can I make these warnings go away?
Copyright © 2021 Jogjafile Inc.
You can disable the SimplifyBooleanExpression checker on the lines where you use
! true
or! false
.Or on multiple lines :