Polishing
This commit is contained in:
parent
9b30d46ff4
commit
76bc581528
|
|
@ -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…
Reference in New Issue