diff options
author | Alexander Kurtakov | 2017-05-05 12:35:18 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-05-05 12:35:18 +0000 |
commit | f1675118c799bf663a57e2f0eebfb9772fc7bbae (patch) | |
tree | 7833fae1fa143860144ec207312cbe18076b91e0 /bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/PasswordProviderSelector.java | |
parent | ab5fb3dd359bbdc94282582aba96d8dfac128107 (diff) | |
download | rt.equinox.bundles-f1675118c799bf663a57e2f0eebfb9772fc7bbae.tar.gz rt.equinox.bundles-f1675118c799bf663a57e2f0eebfb9772fc7bbae.tar.xz rt.equinox.bundles-f1675118c799bf663a57e2f0eebfb9772fc7bbae.zip |
Bug 516242 - Use ConfigurationScope.INSTANCE instead of the deprecatedY20170512-0230Y20170511-1500Y20170511-1000S4_7_0_M7I20170512-0500I20170511-1200I20170510-2000I20170510-0800I20170509-2000I20170509-1300I20170509-1100I20170509-0945I20170509-0800I20170508-2000I20170508-0800I20170507-2000I20170506-2000I20170505-2000
constructor
Change-Id: Idd1ed03bef72516527d7b22a5d209da0d19a4304
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/PasswordProviderSelector.java')
-rw-r--r-- | bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/PasswordProviderSelector.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/PasswordProviderSelector.java b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/PasswordProviderSelector.java index b66feeb93..d7a925d05 100644 --- a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/PasswordProviderSelector.java +++ b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/PasswordProviderSelector.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2012 IBM Corporation and others. + * Copyright (c) 2008, 2017 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 @@ -235,7 +235,7 @@ public class PasswordProviderSelector implements IRegistryEventListener { } protected HashSet getDisabledModules() { - IEclipsePreferences node = new ConfigurationScope().getNode(AuthPlugin.PI_AUTH); + IEclipsePreferences node = ConfigurationScope.INSTANCE.getNode(AuthPlugin.PI_AUTH); String tmp = node.get(IStorageConstants.DISABLED_PROVIDERS_KEY, null); if (tmp == null || tmp.length() == 0) return null; |