Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'profiling/org.eclipse.linuxtools.profiling.launch/src/org/eclipse/linuxtools/internal/profiling/launch/provider/launch/ProviderFramework.java')
-rw-r--r--profiling/org.eclipse.linuxtools.profiling.launch/src/org/eclipse/linuxtools/internal/profiling/launch/provider/launch/ProviderFramework.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/profiling/org.eclipse.linuxtools.profiling.launch/src/org/eclipse/linuxtools/internal/profiling/launch/provider/launch/ProviderFramework.java b/profiling/org.eclipse.linuxtools.profiling.launch/src/org/eclipse/linuxtools/internal/profiling/launch/provider/launch/ProviderFramework.java
index 1134337156..a94595e29d 100644
--- a/profiling/org.eclipse.linuxtools.profiling.launch/src/org/eclipse/linuxtools/internal/profiling/launch/provider/launch/ProviderFramework.java
+++ b/profiling/org.eclipse.linuxtools.profiling.launch/src/org/eclipse/linuxtools/internal/profiling/launch/provider/launch/ProviderFramework.java
@@ -474,8 +474,8 @@ public class ProviderFramework {
IProject project = (IProject)resource;
ScopedPreferenceStore store = new ScopedPreferenceStore(new ProjectScope(project),
ProviderProfileConstants.PLUGIN_ID);
- Boolean use_project_settings = store.getBoolean(ProviderProfileConstants.USE_PROJECT_SETTINGS + type);
- if (use_project_settings.booleanValue() == true) {
+ boolean use_project_settings = store.getBoolean(ProviderProfileConstants.USE_PROJECT_SETTINGS + type);
+ if (use_project_settings) {
String provider = store.getString(ProviderProfileConstants.PREFS_KEY + type);
if (!provider.isEmpty())
providerId = provider;
@@ -494,7 +494,6 @@ public class ProviderFramework {
ProviderProfileConstants.PLUGIN_ID).get(
ProviderProfileConstants.PREFS_KEY + type, ""); //$NON-NLS-1$
if (providerId.isEmpty() || getConfigurationDelegateFromId(providerId) == null) {
-
// Get highest priority provider
providerId = getHighestProviderId(type);
}

Back to the top