Type safety patrol.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4243 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-07-05 00:50:28 +00:00
parent 40d0df6dfa
commit a89473d1b5
7 changed files with 31 additions and 25 deletions
@@ -126,7 +126,7 @@ public class MessageManager
public MessageBundle getBundle (String path)
{
// first look in the cache
MessageBundle bundle = (MessageBundle)_cache.get(path);
MessageBundle bundle = _cache.get(path);
if (bundle != null) {
return bundle;
}
@@ -190,7 +190,8 @@ public class MessageManager
protected ClassLoader _loader;
/** A cache of instantiated message bundles. */
protected HashMap _cache = new HashMap();
protected HashMap<String,MessageBundle> _cache =
new HashMap<String,MessageBundle>();
/** Our top-level message bundle, from which others obtain messages if
* they can't find them within themselves. */