Polishing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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