Nix redundant cast.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2700 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray.j.greenwell
2010-01-13 18:57:22 +00:00
parent f731c7b406
commit 8f24b4a8b8
@@ -155,8 +155,7 @@ public class JDBCTableSiteIdentifier implements SiteIdentifier
// add it to our two mapping tables, taking care to avoid causing enumerateSites() to choke
@SuppressWarnings("unchecked") HashMap<String,Site> newStrings =
(HashMap<String,Site>)_sitesByString.clone();
@SuppressWarnings("unchecked") HashIntMap<Site> newIds =
(HashIntMap<Site>)_sitesById.clone();
HashIntMap<Site> newIds = _sitesById.clone();
newIds.put(site.siteId, site);
newStrings.put(site.siteString, site);
_sitesByString = newStrings;