Browse Source

Polishing

pull/24185/head
Sam Brannen 5 years ago
parent
commit
76bc581528
  1. 4
      spring-core/src/main/java/org/springframework/core/annotation/SynthesizedMergedAnnotationInvocationHandler.java

4
spring-core/src/main/java/org/springframework/core/annotation/SynthesizedMergedAnnotationInvocationHandler.java

@ -134,8 +134,8 @@ final class SynthesizedMergedAnnotationInvocationHandler<A extends Annotation> i @@ -134,8 +134,8 @@ final class SynthesizedMergedAnnotationInvocationHandler<A extends Annotation> i
}
private int getValueHashCode(Object value) {
// Use Arrays.hashCode since ObjectUtils doesn't comply to to
// Annotation#hashCode()
// Use Arrays.hashCode(...) since Spring's ObjectUtils doesn't comply
// with the requirements specified in Annotation#hashCode().
if (value instanceof boolean[]) {
return Arrays.hashCode((boolean[]) value);
}

Loading…
Cancel
Save