Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-03-04 14:39:29 -0500
committerMichael Valenta2002-03-04 14:39:29 -0500
commit4d88f01dd68e93656776defc95b769bd29c92055 (patch)
treeb2a5fa6188cf8fae0f53b86d3a160ad6cae89476
parent8e938c83865c36e42af55cd08473f16c4372d793 (diff)
downloadeclipse.platform.team-4d88f01dd68e93656776defc95b769bd29c92055.tar.gz
eclipse.platform.team-4d88f01dd68e93656776defc95b769bd29c92055.tar.xz
eclipse.platform.team-4d88f01dd68e93656776defc95b769bd29c92055.zip
9744: Error dialog with no title, no message
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java
index 9fa6040c5..463b56663 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Command.java
@@ -468,7 +468,7 @@ public abstract class Command {
if (response.equals("ok")) { //$NON-NLS-1$
break;
} else if (response.equals("error")) { //$NON-NLS-1$
- if (argument.length() == 0)
+ if (argument.trim().length() == 0)
argument = Policy.bind("Command.serverError", Policy.bind("Command." + getCommandId())); //$NON-NLS-1$ //$NON-NLS-2$
return new MultiStatus(CVSProviderPlugin.ID, CVSStatus.SERVER_ERROR,
(IStatus[]) accumulatedStatus.toArray(new IStatus[accumulatedStatus.size()]),

Back to the top