Back to Error Prone

EmptyIf

docs/bugpattern/EmptyIf.md

2.49.0111 B
Original Source

An if statement contains an empty statement as the then clause. A semicolon may have been inserted by accident.