On Wed, 29 Sep 2021 13:27:32 GMT, Andrey Turbanov 
<[email protected]> wrote:

> In several places, String.compareTo was _compared_ with 0 ( via `== 0`).
> Instead of this, we can use String.equals calls. `String.equals` is faster 
> and shorter.

Looks good to me

-------------

Marked as reviewed by pbansal (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5751

Reply via email to