Polishing

This commit is contained in:
Juergen Hoeller
2018-06-28 14:51:31 +02:00
parent b68e692854
commit 40efcc933c
107 changed files with 510 additions and 624 deletions

View File

@@ -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

View File

@@ -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