From b6715f39209521e8f8e1d86da6bfc83b8c574f9b Mon Sep 17 00:00:00 2001 From: Martin Oberhuber Date: Sat, 12 Apr 2008 00:21:08 +0000 Subject: [PATCH] [216252] canceled --> cancelled in comments --- .../tm/internal/terminal/ssh/KeyboardInteractiveDialog.java | 2 +- .../org/eclipse/tm/internal/terminal/ssh/SshConnection.java | 2 +- .../tm/internal/terminal/ssh/UserValidationDialog.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/KeyboardInteractiveDialog.java b/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/KeyboardInteractiveDialog.java index 91987b7926a..761605f263e 100644 --- a/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/KeyboardInteractiveDialog.java +++ b/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/KeyboardInteractiveDialog.java @@ -148,7 +148,7 @@ public class KeyboardInteractiveDialog extends TrayDialog { } /** * Returns the entered values, or null - * if the user canceled. + * if the user cancelled. * * @return the entered values */ diff --git a/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/SshConnection.java b/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/SshConnection.java index 731a095ae13..0fd464c66e4 100644 --- a/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/SshConnection.java +++ b/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/SshConnection.java @@ -278,7 +278,7 @@ class SshConnection extends Thread { }); String[] result=finResult[0]; if (result == null) - return null; // canceled + return null; // cancelled if (result.length == 1 && prompt.length == 1 && prompt[0].trim().equalsIgnoreCase("password:")) { //$NON-NLS-1$ fPassword = result[0]; } diff --git a/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/UserValidationDialog.java b/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/UserValidationDialog.java index 8104b827130..7902fecf5c1 100644 --- a/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/UserValidationDialog.java +++ b/org.eclipse.tm.terminal.ssh/src/org/eclipse/tm/internal/terminal/ssh/UserValidationDialog.java @@ -213,7 +213,7 @@ public class UserValidationDialog extends TrayDialog { /** * Returns the password entered by the user, or null - * if the user canceled. + * if the user cancelled. * * @return the entered password */ @@ -223,7 +223,7 @@ public class UserValidationDialog extends TrayDialog { /** * Returns the username entered by the user, or null - * if the user canceled. + * if the user cancelled. * * @return the entered username */