Add equivalence check to TypeCacheKey

This commit is contained in:
Nikolay Martynov 2020-02-21 12:24:53 -05:00
parent d4c6d86e6d
commit 00c268e6d8
1 changed files with 4 additions and 0 deletions

View File

@ -154,6 +154,10 @@ public class DDCachingPoolStrategy implements PoolStrategy {
return false;
}
if (this == obj) {
return true;
}
final TypeCacheKey that = (TypeCacheKey) obj;
if (hashCode != that.hashCode) {