Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderTracker.java')
-rw-r--r--bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderTracker.java14
1 files changed, 5 insertions, 9 deletions
diff --git a/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderTracker.java b/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderTracker.java
index 5e4c87524..e01df9d57 100644
--- a/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderTracker.java
+++ b/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderTracker.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2011 IBM Corporation and others.
+ * Copyright (c) 2005, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -210,14 +210,12 @@ public class MetaTypeProviderTracker implements EquinoxMetaTypeInformation {
return ocd.getIcon(size);
}
- @SuppressWarnings("unchecked")
public Map<String, String> getExtensionAttributes(String schema) {
- return Collections.EMPTY_MAP;
+ return Collections.<String, String> emptyMap();
}
- @SuppressWarnings("unchecked")
public Set<String> getExtensionUris() {
- return Collections.EMPTY_SET;
+ return Collections.<String> emptySet();
}
public EquinoxAttributeDefinition[] getAttributeDefinitions(int filter) {
@@ -263,14 +261,12 @@ public class MetaTypeProviderTracker implements EquinoxMetaTypeInformation {
return ad.getDefaultValue();
}
- @SuppressWarnings("unchecked")
public Map<String, String> getExtensionAttributes(String schema) {
- return Collections.EMPTY_MAP;
+ return Collections.<String, String> emptyMap();
}
- @SuppressWarnings("unchecked")
public Set<String> getExtensionUris() {
- return Collections.EMPTY_SET;
+ return Collections.<String> emptySet();
}
public String getMax() {

Back to the top