Reports
.equals()
being called to compare a String with an empty string. It is normally more performant to test a String for emptiness by comparing its
.length()
to zero instead.