RFR: 8273960: Redundant condition in Metadata.TypeComparator.compare
Erik Gahlin
egahlin at openjdk.java.net
Tue Sep 21 06:23:57 UTC 2021
On Sat, 21 Aug 2021 08:24:07 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:
> This condition is always `true`, as there is already check above:
>
> if (package1.equals(package2)) {
> return n1.compareTo(n2);
> } else {
Marked as reviewed by egahlin (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/5207
More information about the hotspot-jfr-dev
mailing list