You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/jd/core/v1/service/converter/classfiletojavasyntax/visitor/BindTypeArgumentsToTypeArgumentsVisitor.java
+3-11Lines changed: 3 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -111,9 +111,7 @@ public void visit(ObjectType type) {
111
111
} else {
112
112
typeArguments.accept(this);
113
113
114
-
if (typeArguments == WildcardTypeArgument.WILDCARD_TYPE_ARGUMENT) {
115
-
result = WildcardTypeArgument.WILDCARD_TYPE_ARGUMENT;
116
-
} elseif (typeArguments == result) {
114
+
if (typeArguments == result) {
117
115
result = type;
118
116
} elseif (result != null) {
119
117
result = type.createType(result);
@@ -133,9 +131,7 @@ public void visit(InnerObjectType type) {
133
131
} else {
134
132
typeArguments.accept(this);
135
133
136
-
if (typeArguments == WildcardTypeArgument.WILDCARD_TYPE_ARGUMENT) {
137
-
result = WildcardTypeArgument.WILDCARD_TYPE_ARGUMENT;
138
-
} elseif (typeArguments == result) {
134
+
if (typeArguments == result) {
139
135
result = type;
140
136
} elseif (result != null) {
141
137
result = type.createType(result);
@@ -149,11 +145,7 @@ public void visit(InnerObjectType type) {
149
145
typeArguments = result;
150
146
}
151
147
152
-
if (typeArguments == WildcardTypeArgument.WILDCARD_TYPE_ARGUMENT) {
153
-
result = WildcardTypeArgument.WILDCARD_TYPE_ARGUMENT;
154
-
} else {
155
-
result = newInnerObjectType(type.getInternalName(), type.getQualifiedName(), type.getName(), typeArguments, type.getDimension(), outerObjectType);
156
-
}
148
+
result = newInnerObjectType(type.getInternalName(), type.getQualifiedName(), type.getName(), typeArguments, type.getDimension(), outerObjectType);
0 commit comments