This inspection reports any
.size()
comparisons with a
0
literal which can be replaced with a call to
.isEmpty()
.
Powered by InspectionGadgets