Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-11-03 21:34:03 +0000
committerMichael Valenta2004-11-03 21:34:03 +0000
commit863fc1802961e90cbfb7a5ed8b375191b0f067ab (patch)
tree620875012308f1e9265b8c189dbdb084745c1149
parent4793a0f0942368d90a54ec2125042cff5a81923c (diff)
downloadeclipse.platform.team-863fc1802961e90cbfb7a5ed8b375191b0f067ab.tar.gz
eclipse.platform.team-863fc1802961e90cbfb7a5ed8b375191b0f067ab.tar.xz
eclipse.platform.team-863fc1802961e90cbfb7a5ed8b375191b0f067ab.zip
Bug 77555 Very wide error dialogI20041103
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java
index 5e6a3bc46..2e86515ff 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java
@@ -125,17 +125,10 @@ public final class RefreshSubscriberJob extends Job {
return true;
}
public String getText() {
- String text = null;
if(gotoAction != null) {
- text = gotoAction.getText();
+ return gotoAction.getText();
}
- if (text == null || text.length() == 0) {
- text = super.getText();
- if (text == null || text.length() == 0) {
- text = getToolTipText();
- }
- }
- return text;
+ return null;
}
public String getToolTipText() {
if (status != null && !status.isOK()) {

Back to the top