Polishing
This commit is contained in:
parent
28e2dd0487
commit
dc3299152c
|
@ -18,7 +18,7 @@ package org.springframework.asm;
|
|||
|
||||
/**
|
||||
* Utility class exposing constants related to Spring's internal repackaging
|
||||
* of the ASM bytecode manipulation library (currently based on version 5.0).
|
||||
* of the ASM bytecode manipulation library (currently based on version 6.0).
|
||||
*
|
||||
* <p>See <a href="package-summary.html">package-level javadocs</a> for more
|
||||
* information on {@code org.springframework.asm}.
|
||||
|
|
|
@ -1350,7 +1350,7 @@ public class ResolvableType implements Serializable {
|
|||
* @see #forType(Type)
|
||||
*/
|
||||
public static ResolvableType forType(ParameterizedTypeReference<?> typeReference) {
|
||||
return forType(typeReference.getType(), null ,null);
|
||||
return forType(typeReference.getType(), null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1594,7 +1594,7 @@ public class ResolvableType implements Serializable {
|
|||
}
|
||||
WildcardType wildcardType = (WildcardType) resolveToWildcard.type;
|
||||
Kind boundsType = (wildcardType.getLowerBounds().length > 0 ? Kind.LOWER : Kind.UPPER);
|
||||
Type[] bounds = boundsType == Kind.UPPER ? wildcardType.getUpperBounds() : wildcardType.getLowerBounds();
|
||||
Type[] bounds = (boundsType == Kind.UPPER ? wildcardType.getUpperBounds() : wildcardType.getLowerBounds());
|
||||
ResolvableType[] resolvableBounds = new ResolvableType[bounds.length];
|
||||
for (int i = 0; i < bounds.length; i++) {
|
||||
resolvableBounds[i] = ResolvableType.forType(bounds[i], type.variableResolver);
|
||||
|
|
Loading…
Reference in New Issue