mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 22:19:03 +00:00
Polish "Use Object.equals() where feasible"
See gh-31916
This commit is contained in:
+1
-4
@@ -286,10 +286,7 @@ class MappingJackson2MessageConverterTests {
|
||||
return false;
|
||||
}
|
||||
MyBean bean = (MyBean) o;
|
||||
if (!Objects.equals(foo, bean.foo)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return Objects.equals(this.foo, bean.foo);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user