Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java')
-rw-r--r--framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java
index 661fbc7d0..2f9eea886 100644
--- a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java
+++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/URIID.java
@@ -57,7 +57,7 @@ public class URIID extends BaseID implements IResourceID {
* @seeorg.eclipse.ecf.core.identity.Namespace#
* getSupportedParameterTypesForCreateInstance()
*/
- public Class[][] getSupportedParameterTypes() {
+ public Class<?>[][] getSupportedParameterTypes() {
return new Class[][] { { String.class }, { URI.class } };
}
}
@@ -76,7 +76,7 @@ public class URIID extends BaseID implements IResourceID {
return 0;
if (!this.getClass().equals(o.getClass()))
return Integer.MIN_VALUE;
- return this.uri.compareTo((Object) ((URIID) o).uri);
+ return this.uri.compareTo(((URIID) o).uri);
}
protected boolean namespaceEquals(BaseID o) {

Back to the top