summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/utils/Resource.java
diff options
context:
space:
mode:
authorabranson <andrew.branson@cern.ch>2011-08-02 22:10:28 +0200
committerabranson <andrew.branson@cern.ch>2011-08-02 22:10:28 +0200
commit5664fd4644c78f4571a1a72e6b9f0511fb10720a (patch)
tree7be1c346d1d001bf6b079089f995a60c52b955c1 /source/com/c2kernel/utils/Resource.java
parent29bbf451a22916d39017ec1a3f53f4e0f0e65ee0 (diff)
Finished move to generics. Enforced 1.6 compliance for now. No errors or
warnings :)
Diffstat (limited to 'source/com/c2kernel/utils/Resource.java')
-rw-r--r--[-rwxr-xr-x]source/com/c2kernel/utils/Resource.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/com/c2kernel/utils/Resource.java b/source/com/c2kernel/utils/Resource.java
index 7a47625..33100d8 100755..100644
--- a/source/com/c2kernel/utils/Resource.java
+++ b/source/com/c2kernel/utils/Resource.java
@@ -15,8 +15,8 @@ import com.c2kernel.common.ObjectNotFoundException;
* @version $Revision: 1.71 $
**************************************************************************/
public class Resource {
- static private Hashtable txtCache = new Hashtable();
- static private Hashtable imgCache = new Hashtable();
+ static private Hashtable<String, String> txtCache = new Hashtable<String, String>();
+ static private Hashtable<String, ImageIcon> imgCache = new Hashtable<String, ImageIcon>();
static private URL baseURL = null;
static private URL domainBaseURL = null;
static private URL importURL = null;