suppress unchecked warnings

This commit is contained in:
Sebastian Sdorra
2014-01-11 15:17:44 +01:00
parent a99dfb31fc
commit 4745dd5575
49 changed files with 76 additions and 15 deletions

View File

@@ -81,6 +81,7 @@ public class GuavaCache<K, V> implements Cache<K, V>
* @param configuration
* @param name
*/
@SuppressWarnings("unchecked")
public GuavaCache(GuavaCacheConfiguration configuration, String name)
{
this(GuavaCaches.create(configuration, name),

View File

@@ -125,6 +125,7 @@ public class GuavaCacheManager implements CacheManager
* @return
*/
@Override
@SuppressWarnings("unchecked")
public synchronized <K, V> GuavaCache<K, V> getCache(String name)
{
logger.trace("try to retrieve cache {}", name);

View File

@@ -79,6 +79,7 @@ public class GuavaCacheManagerConfiguration
*
* @return
*/
@SuppressWarnings("unchecked")
public List<GuavaNamedCacheConfiguration> getCaches()
{
if (caches == null)