On Tue, Oct 29, 2019 at 1:12 PM Rob Spoor <open...@icemanx.nl> wrote: > > I agree. There is no reason to use == instead of equals. Not for > readability, because it will most likely confuse people who will come > asking why you're not using equals. Not for performance, because since > at least Java 7 String.equals starts with this: > > if (this == anObject) { > return true; > } > That doesn't remove the performance difference when the string is NOT upper case.
- Question about String.toUpperCase behaviour Сергей Цыпанов
- Re: Question about String.toUpperCase beh... Florian Weimer
- Re: Question about String.toUpperCase... Rob Spoor
- Re: Question about String.toUpper... Hans Boehm
- Re: Question about String.toU... Сергей Цыпанов