From 76bc5815288140b9d634333900228df10e92577a Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 10 Dec 2019 22:06:22 +0100 Subject: [PATCH] Polishing --- .../SynthesizedMergedAnnotationInvocationHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/annotation/SynthesizedMergedAnnotationInvocationHandler.java b/spring-core/src/main/java/org/springframework/core/annotation/SynthesizedMergedAnnotationInvocationHandler.java index 1a19f499e2..e226accd5c 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/SynthesizedMergedAnnotationInvocationHandler.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/SynthesizedMergedAnnotationInvocationHandler.java @@ -134,8 +134,8 @@ final class SynthesizedMergedAnnotationInvocationHandler 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); }