diff options
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoration.java')
-rw-r--r-- | bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoration.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoration.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoration.java index 93241c352..06fbde3e5 100644 --- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoration.java +++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoration.java @@ -271,14 +271,14 @@ public class CVSDecoration { bindings.put(CVSDecoratorConfiguration.REMOTELOCATION_ROOT, location.getRootDirectory()); bindings.put(CVSDecoratorConfiguration.REMOTELOCATION_REPOSITORY, repository); - RepositoryManager repositoryManager = CVSUIPlugin.getPlugin().getRepositoryManager(); - RepositoryRoot root = repositoryManager.getRepositoryRootFor(location); - CVSUIPlugin.getPlugin().getRepositoryManager(); - String label = root.getName(); - if (label == null) { - label = location.getLocation(true); - } - bindings.put(CVSDecoratorConfiguration.REMOTELOCATION_LABEL, label); + RepositoryManager repositoryManager = CVSUIPlugin.getPlugin().getRepositoryManager(); + RepositoryRoot root = repositoryManager.getRepositoryRootFor(location); + CVSUIPlugin.getPlugin().getRepositoryManager(); + String label = root.getName(); + if (label == null) { + label = location.getLocation(true); + } + bindings.put(CVSDecoratorConfiguration.REMOTELOCATION_LABEL, label); } CVSDecoratorConfiguration.decorate(this, getTextFormatter(), bindings); } @@ -446,9 +446,9 @@ public class CVSDecoration { public void setStateFlags(int stateFlags) { this.stateFlags = stateFlags; - if ((stateFlags & IThreeWayDiff.OUTGOING) != 0) { - setDirty(true); - } + if ((stateFlags & IThreeWayDiff.OUTGOING) != 0) { + setDirty(true); + } } public TeamStateDescription asTeamStateDescription(String[] properties) { |