We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc344a1 commit 6605a6bCopy full SHA for 6605a6b
src/main/java/org/springframework/data/util/NullnessMethodInvocationValidator.java
@@ -19,6 +19,7 @@
19
20
import java.lang.annotation.ElementType;
21
import java.lang.reflect.Method;
22
+import java.util.Arrays;
23
import java.util.Map;
24
import java.util.concurrent.ConcurrentHashMap;
25
@@ -233,8 +234,8 @@ public boolean equals(@Nullable Object o) {
233
234
@Override
235
public int hashCode() {
236
int result = (nullableReturn ? 1 : 0);
- result = (31 * result) + ObjectUtils.nullSafeHashCode(nullableParameters);
237
- result = (31 * result) + ObjectUtils.nullSafeHashCode(methodParameters);
+ result = (31 * result) + Arrays.hashCode(nullableParameters);
238
+ result = (31 * result) + Arrays.hashCode(methodParameters);
239
return result;
240
}
241
0 commit comments