On Wed, 22 Sep 2021 19:14:03 GMT, Andrey Turbanov 
<[email protected]> wrote:

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

Marked as reviewed by amenkov (Reviewer).

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

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

Reply via email to