mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-08-26 20:27:23 +02:00
suppress unchecked warnings
This commit is contained in:
@@ -34,7 +34,6 @@ package sonia.scm.cache;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
|
||||
import com.google.common.base.Objects;
|
||||
import com.google.common.collect.Maps;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
@@ -94,5 +93,6 @@ public class MapCacheManager implements CacheManager
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
@SuppressWarnings("unchecked")
|
||||
private final Map<String, Cache> cacheMap = Maps.newHashMap();
|
||||
}
|
||||
|
||||
@@ -89,6 +89,7 @@ public final class MockUtil
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public static Subject createAdminSubject()
|
||||
{
|
||||
Subject subject = mock(Subject.class);
|
||||
|
||||
Reference in New Issue
Block a user