Don't need local var.
This commit is contained in:
parent
ebed08cb25
commit
c2da7e3c51
|
@ -373,8 +373,7 @@ public static boolean containsTypeVariables(final Type type) {
|
||||||
|| containsTypeVariables(getImplicitUpperBounds(wild)[0]);
|
|| containsTypeVariables(getImplicitUpperBounds(wild)[0]);
|
||||||
}
|
}
|
||||||
if (type instanceof GenericArrayType) {
|
if (type instanceof GenericArrayType) {
|
||||||
final GenericArrayType array = (GenericArrayType) type;
|
return containsTypeVariables(((GenericArrayType) type).getGenericComponentType());
|
||||||
return containsTypeVariables(array.getGenericComponentType());
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue