Browse Source

Polishing

pull/1551/head
Juergen Hoeller 7 years ago
parent
commit
dc3299152c
  1. 2
      spring-core/src/main/java/org/springframework/asm/SpringAsmInfo.java
  2. 4
      spring-core/src/main/java/org/springframework/core/ResolvableType.java

2
spring-core/src/main/java/org/springframework/asm/SpringAsmInfo.java

@ -18,7 +18,7 @@ package org.springframework.asm; @@ -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}.

4
spring-core/src/main/java/org/springframework/core/ResolvableType.java

@ -1350,7 +1350,7 @@ public class ResolvableType implements Serializable { @@ -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 { @@ -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…
Cancel
Save