remove unnecessary cast
This commit is contained in:
parent
d0af45fc21
commit
c5e274daf9
@ -63,7 +63,7 @@ public final class ExpiringSet<E> extends AbstractSet<E> implements Set<E> {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean contains(Object item) {
|
public boolean contains(Object item) {
|
||||||
return this.cache.getIfPresent((E) item) != null;
|
return this.cache.getIfPresent(item) != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user