Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeParticipantDescriptor.java2
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/TeamContentProviderDescriptor.java3
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/AbstractSynchronizeParticipant.java2
3 files changed, 3 insertions, 4 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeParticipantDescriptor.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeParticipantDescriptor.java
index 888303a47..ee5a4815a 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeParticipantDescriptor.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/SynchronizeParticipantDescriptor.java
@@ -107,7 +107,7 @@ public class SynchronizeParticipantDescriptor implements ISynchronizeParticipant
if(persistentString == null) {
persistent = true;
} else {
- persistent = Boolean.valueOf(persistentString).booleanValue();
+ persistent = Boolean.parseBoolean(persistentString);
}
helpContextId = configElement.getAttribute(ATT_HELP_CONTEXT_ID);
// Sanity check.
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/TeamContentProviderDescriptor.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/TeamContentProviderDescriptor.java
index 61328c5af..83ac72b1c 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/TeamContentProviderDescriptor.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/registry/TeamContentProviderDescriptor.java
@@ -79,8 +79,7 @@ public class TeamContentProviderDescriptor implements ITeamContentProviderDescri
String supportsFlatLayoutString = element
.getAttribute(ATT_SUPPORTS_FLAT_LAYOUT);
if (supportsFlatLayoutString != null) {
- supportsFlatLayout = Boolean.valueOf(
- supportsFlatLayoutString).booleanValue();
+ supportsFlatLayout = Boolean.parseBoolean(supportsFlatLayoutString);
}
contentProviderName = extension.getLabel();
}
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/AbstractSynchronizeParticipant.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/AbstractSynchronizeParticipant.java
index 37c1b851b..1199053cd 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/AbstractSynchronizeParticipant.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/AbstractSynchronizeParticipant.java
@@ -279,7 +279,7 @@ public abstract class AbstractSynchronizeParticipant extends PlatformObject impl
@Override
public void init(String secondaryId, IMemento memento) throws PartInitException {
setSecondaryId(secondaryId);
- pinned = Boolean.valueOf(memento.getString(CTX_PINNED)).booleanValue();
+ pinned = Boolean.parseBoolean(memento.getString(CTX_PINNED));
}
@Override

Back to the top