Move off deprecated API.

See #3305
Original pull request: #3307
This commit is contained in:
Christoph Strobl
2025-06-04 11:52:13 +02:00
committed by Mark Paluch
parent cc344a1dd2
commit 6605a6bcde

View File

@@ -19,6 +19,7 @@ import kotlin.reflect.KFunction;
import java.lang.annotation.ElementType;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
@@ -233,8 +234,8 @@ public class NullnessMethodInvocationValidator implements MethodInterceptor {
@Override
public int hashCode() {
int result = (nullableReturn ? 1 : 0);
result = (31 * result) + ObjectUtils.nullSafeHashCode(nullableParameters);
result = (31 * result) + ObjectUtils.nullSafeHashCode(methodParameters);
result = (31 * result) + Arrays.hashCode(nullableParameters);
result = (31 * result) + Arrays.hashCode(methodParameters);
return result;
}