Skip to content

Commit b6b7551

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jd/core/v1/service/converter/classfiletojavasyntax/util/LocalVariableMaker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ public boolean isCompatible(AbstractLocalVariable lv, Type valueType) {
339339
BaseTypeArgument lvTypeArguments = lvObjectType.getTypeArguments();
340340
BaseTypeArgument valueTypeArguments = valueObjectType.getTypeArguments();
341341

342-
if ((lvTypeArguments == null) || (valueTypeArguments == null)) {
342+
if ((lvTypeArguments == null) || (valueTypeArguments == null) || (valueTypeArguments == WildcardTypeArgument.WILDCARD_TYPE_ARGUMENT)) {
343343
return typeMaker.isRawTypeAssignable(lvObjectType, valueObjectType);
344344
}
345345

0 commit comments

Comments
 (0)