Fix various warnings

Remove unused imports, unused fields and variables, unused private
methods and unnecessary @SuppressWarnings.

Change-Id: Iff3dbd9e2669fcaa7cb42c1accfddfb2ba82b6e0
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2012-10-18 13:36:54 +02:00
parent 4cef11a77d
commit 2820055fd8
9 changed files with 1 additions and 32 deletions

View File

@@ -146,7 +146,7 @@ class H2CacheFactory implements PersistentCacheFactory, LifecycleListener {
}
}
@SuppressWarnings({"unchecked", "rawtypes", "cast"})
@SuppressWarnings({"unchecked", "cast"})
@Override
public <K, V> Cache<K, V> build(CacheBinding<K, V> def) {
Preconditions.checkState(!started, "cache must be built before start");