Skip to content

Commit 1a79b9e

Browse files
author
emmanue1
committed
Fix syntax errors in decompiled sources
1 parent db03b6b commit 1a79b9e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/main/java/org/jd/core/v1/service/converter/classfiletojavasyntax/visitor/PopulateBindingsWithTypeArgumentVisitor.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,8 @@ public void visit(TypeArguments arguments) {
9090
}
9191
}
9292

93-
protected boolean equals(BaseType bt1, BaseType bt2) {
94-
if (bt1 == null) {
95-
return (bt2 == null);
96-
} else {
97-
return (bt2 != null) && bt1.equals(bt2);
98-
}
93+
private static boolean equals(BaseType bt1, BaseType bt2) {
94+
return (bt2 == null) || bt2.equals(bt1);
9995
}
10096

10197
protected TypeArgument checkTypeClassCheckDimensionAndReturnCurrentAsTypeArgument(GenericType type) {

0 commit comments

Comments
 (0)