Remove unnecessary warning suppression
Change-Id: Iac493ad8be46d29e82ffb3007aadf25a49debfa8
This commit is contained in:
committed by
Shawn O. Pearce
parent
982e5972cb
commit
3755e9fd85
@@ -105,7 +105,6 @@ final class ProxyEhcache implements Ehcache {
|
||||
return self().get(key);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public Map getAllWithLoader(Collection keys, Object loaderArgument)
|
||||
throws CacheException {
|
||||
return self().getAllWithLoader(keys, loaderArgument);
|
||||
@@ -151,17 +150,14 @@ final class ProxyEhcache implements Ehcache {
|
||||
return self().getGuid();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List getKeys() throws IllegalStateException, CacheException {
|
||||
return self().getKeys();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List getKeysNoDuplicateCheck() throws IllegalStateException {
|
||||
return self().getKeysNoDuplicateCheck();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public List getKeysWithExpiryCheck() throws IllegalStateException,
|
||||
CacheException {
|
||||
return self().getKeysWithExpiryCheck();
|
||||
@@ -251,7 +247,6 @@ final class ProxyEhcache implements Ehcache {
|
||||
self().load(key);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void loadAll(Collection keys, Object argument) throws CacheException {
|
||||
self().loadAll(keys, argument);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user