Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Piggott2011-04-20 09:59:55 -0400
committerMatthew Piggott2011-04-20 10:01:28 -0400
commit3f7f48e28f4d06aa495204e4e15c6ac0a6882c04 (patch)
treece8759ea2a13966c50c533423d8f15db776e01c3
parent4da937a458053d1302b613559bde6ec59b97552c (diff)
downloadm2e-core-3f7f48e28f4d06aa495204e4e15c6ac0a6882c04.tar.gz
m2e-core-3f7f48e28f4d06aa495204e4e15c6ac0a6882c04.tar.xz
m2e-core-3f7f48e28f4d06aa495204e4e15c6ac0a6882c04.zip
Revert "Fix preference access"
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/M2EUIPluginActivator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/M2EUIPluginActivator.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/M2EUIPluginActivator.java
index 006cbd61..0b391979 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/M2EUIPluginActivator.java
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/M2EUIPluginActivator.java
@@ -53,7 +53,8 @@ public class M2EUIPluginActivator extends AbstractUIPlugin {
public IPreferenceStore getPreferenceStore() {
// Create the preference store lazily.
if(preferenceStore == null) {
- preferenceStore = new ScopedPreferenceStore(InstanceScope.INSTANCE, IMavenConstants.PLUGIN_ID);
+ // InstanceScope.INSTANCE added in 3.7
+ preferenceStore = new ScopedPreferenceStore(new InstanceScope(), IMavenConstants.PLUGIN_ID);
}
return preferenceStore;

Back to the top