Skip to content

Commit 9bc865d

Browse files
turbanoffegahlin
authored andcommittedSep 25, 2021
8273960: Redundant condition in Metadata.TypeComparator.compare
Reviewed-by: egahlin
1 parent 5756385 commit 9bc865d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Metadata.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public int compare(Type t1, Type t2) {
6969
} else {
7070
// Ensure that jdk.* are printed first
7171
// This makes it easier to find user defined events at the end.
72-
if (Type.SUPER_TYPE_EVENT.equals(t1.getSuperType()) && !package1.equals(package2)) {
72+
if (Type.SUPER_TYPE_EVENT.equals(t1.getSuperType())) {
7373
if (package1.equals("jdk.jfr")) {
7474
return -1;
7575
}

0 commit comments

Comments
 (0)
Please sign in to comment.