mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
fix/suppress compiler warnings
This commit is contained in:
@@ -48,6 +48,7 @@ import java.util.Map;
|
||||
* @author Sebastian Sdorra
|
||||
* @since 1.17
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public class MapCacheManager
|
||||
implements CacheManager, org.apache.shiro.cache.CacheManager
|
||||
{
|
||||
@@ -94,6 +95,5 @@ public class MapCacheManager
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
@SuppressWarnings("unchecked")
|
||||
private final Map<String, MapCache> cacheMap = Maps.newHashMap();
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ import java.io.File;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.tmatesoft.svn.core.internal.util.SVNURLUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -93,7 +94,7 @@ public class SvnRepositoryClient extends AbstractRepositoryClient
|
||||
client = SVNClientManager.newInstance(options);
|
||||
}
|
||||
|
||||
remoteRepositoryURL = SVNURL.parseURIDecoded(remoteRepository);
|
||||
remoteRepositoryURL = SVNURL.parseURIEncoded(remoteRepository);
|
||||
DAVRepositoryFactory.setup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user