Skip to content

Commit 93b9f23

Browse files
committed
Polishing.
Fix proxy comparison. See #3705
1 parent 42ab7d2 commit 93b9f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/LazyLoadingProxyFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public Object intercept(Object o, Method method, Object[] args, MethodProxy prox
167167
}
168168

169169
if (ReflectionUtils.isEqualsMethod(method)) {
170-
return proxyEquals(proxy, args[0]);
170+
return proxyEquals(o, args[0]);
171171
}
172172

173173
if (ReflectionUtils.isHashCodeMethod(method)) {

0 commit comments

Comments
 (0)