Polishing

This commit is contained in:
Sam Brannen 2019-12-10 22:06:22 +01:00
parent 9b30d46ff4
commit 76bc581528
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}