mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
+3
-3
@@ -246,10 +246,10 @@ public class SpringContextResourceAdapter implements ResourceAdapter {
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return (obj instanceof SpringContextResourceAdapter &&
|
||||
public boolean equals(Object other) {
|
||||
return (this == other || (other instanceof SpringContextResourceAdapter &&
|
||||
ObjectUtils.nullSafeEquals(getContextConfigLocation(),
|
||||
((SpringContextResourceAdapter) obj).getContextConfigLocation()));
|
||||
((SpringContextResourceAdapter) other).getContextConfigLocation())));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+2
-2
@@ -75,8 +75,8 @@ public abstract class DelegatingTransactionDefinition implements TransactionDefi
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return this.targetDefinition.equals(obj);
|
||||
public boolean equals(Object other) {
|
||||
return this.targetDefinition.equals(other);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user