Author: scabanovich
Date: 2007-10-02 09:55:52 -0400 (Tue, 02 Oct 2007)
New Revision: 3960
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/key/KeyLoader.java
Log:
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/key/KeyLoader.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/key/KeyLoader.java 2007-10-02
13:12:18 UTC (rev 3959)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/key/KeyLoader.java 2007-10-02
13:55:52 UTC (rev 3960)
@@ -20,9 +20,9 @@
public static Properties load(String locale) {
Properties keys = new Properties();
- Set set = getKeyResources(locale);
+ Set<URL> set = getKeyResources(locale);
- Iterator it = set.iterator();
+ Iterator<URL> it = set.iterator();
if(!it.hasNext()) return keys;
while(it.hasNext()) {
URL url = (URL)it.next();
@@ -41,7 +41,7 @@
return keys;
}
- private static Set getKeyResources(String locale) {
+ private static Set<URL> getKeyResources(String locale) {
Set<URL> resources = new HashSet<URL>();
IExtensionPoint point =
Platform.getExtensionRegistry().getExtensionPoint("org.jboss.tools.common.model.keys");
IExtension[] es = point.getExtensions();
Show replies by date