Polishing

This commit is contained in:
Juergen Hoeller
2018-06-28 17:12:29 +02:00
parent 6f8a524eaa
commit 8ad5299f4a
7 changed files with 22 additions and 46 deletions

View File

@@ -582,12 +582,7 @@ public class CachingConnectionFactory extends SingleConnectionFactory {
@Override
public int hashCode() {
int prime = 31;
int result = ObjectUtils.nullSafeHashCode(this.selector);
result = prime * result + ObjectUtils.nullSafeHashCode(this.noLocal);
result = prime * result + ObjectUtils.nullSafeHashCode(this.subscription);
result = prime * result + Boolean.hashCode(this.durable);
return result;
return 31 * super.hashCode() + ObjectUtils.nullSafeHashCode(this.selector);
}
@Override