Add equivalence check to TypeCacheKey
This commit is contained in:
parent
d4c6d86e6d
commit
00c268e6d8
|
@ -154,6 +154,10 @@ public class DDCachingPoolStrategy implements PoolStrategy {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this == obj) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
final TypeCacheKey that = (TypeCacheKey) obj;
|
final TypeCacheKey that = (TypeCacheKey) obj;
|
||||||
|
|
||||||
if (hashCode != that.hashCode) {
|
if (hashCode != that.hashCode) {
|
||||||
|
|
Loading…
Reference in New Issue