Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvbhadrir2005-08-23 19:11:34 +0000
committervbhadrir2005-08-23 19:11:34 +0000
commita0cdd65f25b5cec56fd433b052fbffeaaf41af78 (patch)
treed6343431abe1fa989d16a9ee8fcf4f077d80b8de /plugins/org.eclipse.wst.common.emf/workbench/org/eclipse/wst/common/internal/emf/plugin/PackageURIMapReader.java
parent5849d7d2861c6c1e1473ed59ab7f092c194d637a (diff)
downloadwebtools.common-a0cdd65f25b5cec56fd433b052fbffeaaf41af78.tar.gz
webtools.common-a0cdd65f25b5cec56fd433b052fbffeaaf41af78.tar.xz
webtools.common-a0cdd65f25b5cec56fd433b052fbffeaaf41af78.zip
fix for warnings: committed for JL
Diffstat (limited to 'plugins/org.eclipse.wst.common.emf/workbench/org/eclipse/wst/common/internal/emf/plugin/PackageURIMapReader.java')
-rw-r--r--plugins/org.eclipse.wst.common.emf/workbench/org/eclipse/wst/common/internal/emf/plugin/PackageURIMapReader.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/org.eclipse.wst.common.emf/workbench/org/eclipse/wst/common/internal/emf/plugin/PackageURIMapReader.java b/plugins/org.eclipse.wst.common.emf/workbench/org/eclipse/wst/common/internal/emf/plugin/PackageURIMapReader.java
index 253ffe3a4..68b9fe457 100644
--- a/plugins/org.eclipse.wst.common.emf/workbench/org/eclipse/wst/common/internal/emf/plugin/PackageURIMapReader.java
+++ b/plugins/org.eclipse.wst.common.emf/workbench/org/eclipse/wst/common/internal/emf/plugin/PackageURIMapReader.java
@@ -13,7 +13,6 @@ package org.eclipse.wst.common.internal.emf.plugin;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtension;
import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IPluginRegistry;
import org.eclipse.core.runtime.Platform;
import org.eclipse.wst.common.internal.emf.resource.CompatibilityPackageMappingRegistry;
@@ -39,8 +38,7 @@ public class PackageURIMapReader {
}
private IExtensionPoint getExtensionPoint() {
- IPluginRegistry reg = Platform.getPluginRegistry();
- return reg.getExtensionPoint(EcoreUtilitiesPlugin.ID, EXTENSION_POINT_NAME);
+ return Platform.getExtensionRegistry().getExtensionPoint(EcoreUtilitiesPlugin.ID, EXTENSION_POINT_NAME);
}
/**

Back to the top