1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-17 05:55:22 +02:00

[cleanup] Fix Typo

This commit is contained in:
Martin Oberhuber 2008-04-09 21:52:44 +00:00
parent 9c8e811837
commit 6adb657af5

View file

@ -1,15 +1,15 @@
/******************************************************************************** /********************************************************************************
* Copyright (c) 2002, 2008 IBM Corporation. All rights reserved. * Copyright (c) 2002, 2008 IBM Corporation. All rights reserved.
* This program and the accompanying materials are made available under the terms * This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is * of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html * available at http://www.eclipse.org/legal/epl-v10.html
* *
* Initial Contributors: * Initial Contributors:
* The following IBM employees contributed to the Remote System Explorer * The following IBM employees contributed to the Remote System Explorer
* component that contains this file: David McKnight, Kushal Munir, * component that contains this file: David McKnight, Kushal Munir,
* Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson, * Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson,
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* David Dykstal (IBM) - 168977: refactoring IConnectorService and ServerLauncher hierarchies * David Dykstal (IBM) - 168977: refactoring IConnectorService and ServerLauncher hierarchies
* David Dykstal (IBM) - [225089][ssh][shells][api] Canceling connection leads to exception * David Dykstal (IBM) - [225089][ssh][shells][api] Canceling connection leads to exception
@ -20,13 +20,13 @@ import org.eclipse.core.runtime.OperationCanceledException;
import org.eclipse.rse.core.model.IHost; import org.eclipse.rse.core.model.IHost;
/** /**
* A basic connector service is one that does not require any type of * A basic connector service is one that does not require any type of
* authentication to connect to its target system. * authentication to connect to its target system.
* Since this is the case, many of the methods of * Since this is the case, many of the methods of
* {@link IConnectorService} are implemented only in skeletal form. * {@link IConnectorService} are implemented only in skeletal form.
*/ */
public abstract class BasicConnectorService extends AbstractConnectorService { public abstract class BasicConnectorService extends AbstractConnectorService {
/** /**
* Constructs a basic connector service. * Constructs a basic connector service.
* @param name The name of the connector service * @param name The name of the connector service
@ -37,7 +37,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public BasicConnectorService(String name, String description, IHost host, int port) { public BasicConnectorService(String name, String description, IHost host, int port) {
super(name, description, host, port); super(name, description, host, port);
} }
/** /**
* Indicates if this connector service understands passwords. * Indicates if this connector service understands passwords.
* This implementation always returns false. * This implementation always returns false.
@ -48,7 +48,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public boolean supportsPassword() { public boolean supportsPassword() {
return false; return false;
} }
/** /**
* Indicates if this connector service requires passwords. * Indicates if this connector service requires passwords.
* This implementation always returns false. * This implementation always returns false.
@ -59,7 +59,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public boolean requiresPassword() { public boolean requiresPassword() {
return false; return false;
} }
/** /**
* Indicates if this connector service understands user ids. * Indicates if this connector service understands user ids.
* This implementation always returns false. * This implementation always returns false.
@ -70,7 +70,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public boolean supportsUserId() { public boolean supportsUserId() {
return false; return false;
} }
/** /**
* Indicates if this connector service requires a user id. * Indicates if this connector service requires a user id.
* This implementation always returns false. * This implementation always returns false.
@ -81,15 +81,15 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public boolean requiresUserId() { public boolean requiresUserId() {
return false; return false;
} }
/** /**
* Acquires credentials. * Acquires credentials. This implementation does nothing.
* This implmentation does nothing. *
* @see org.eclipse.rse.core.subsystems.IConnectorService#acquireCredentials(boolean) * @see org.eclipse.rse.core.subsystems.IConnectorService#acquireCredentials(boolean)
*/ */
public void acquireCredentials(boolean refresh) throws OperationCanceledException { public void acquireCredentials(boolean refresh) throws OperationCanceledException {
} }
/** /**
* Clears credentials. * Clears credentials.
* This implementation does nothing. * This implementation does nothing.
@ -97,7 +97,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
*/ */
public void clearCredentials() { public void clearCredentials() {
} }
/** /**
* Clears a password. * Clears a password.
* This implementation does nothing. * This implementation does nothing.
@ -105,7 +105,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
*/ */
public void clearPassword(boolean persist, boolean propagate) { public void clearPassword(boolean persist, boolean propagate) {
} }
/** /**
* Gets the user id. * Gets the user id.
* This implementation returns null. * This implementation returns null.
@ -115,7 +115,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public String getUserId() { public String getUserId() {
return null; return null;
} }
/** /**
* Indicates the presence of a password. * Indicates the presence of a password.
* This implementation returns false. * This implementation returns false.
@ -126,7 +126,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public boolean hasPassword(boolean onDisk) { public boolean hasPassword(boolean onDisk) {
return false; return false;
} }
/** /**
* Indicates if this connector service can inherit its credentials from others. * Indicates if this connector service can inherit its credentials from others.
* This implementation returns false. * This implementation returns false.
@ -136,7 +136,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public boolean inheritsCredentials() { public boolean inheritsCredentials() {
return false; return false;
} }
/** /**
* Indicates if this connector service is currently being suppressed. * Indicates if this connector service is currently being suppressed.
* This implementation returns false. * This implementation returns false.
@ -146,7 +146,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
public boolean isSuppressed() { public boolean isSuppressed() {
return false; return false;
} }
/** /**
* Removes the persistent form of a password. * Removes the persistent form of a password.
* This implementation does nothing. * This implementation does nothing.
@ -154,7 +154,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
*/ */
public void removePassword() { public void removePassword() {
} }
/** /**
* Removes the persistent form of the default user id. * Removes the persistent form of the default user id.
* This implementation does nothing. * This implementation does nothing.
@ -162,7 +162,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
*/ */
public void removeUserId() { public void removeUserId() {
} }
/** /**
* Saves the remembered password persistently. * Saves the remembered password persistently.
* This implementation does nothing. * This implementation does nothing.
@ -170,7 +170,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
*/ */
public void savePassword() { public void savePassword() {
} }
/** /**
* Saves the remembered user id persistently. * Saves the remembered user id persistently.
* This implementation does nothing. * This implementation does nothing.
@ -178,20 +178,22 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
*/ */
public void saveUserId() { public void saveUserId() {
} }
/** /**
* Sets the password for a particular user id and optionally persists it. * Sets the password for a particular user id and optionally persists it.
* This implemenation does nothing. * This implementation does nothing.
*
* @param matchingUserId the user id to set the password for * @param matchingUserId the user id to set the password for
* @param password the password to set. * @param password the password to set.
* @param persist true if this is to be persisted. * @param persist true if this is to be persisted.
* @param propagate true if this password should be propagated to other * @param propagate true if this password should be propagated to other
* connector services. * connector services.
* @see org.eclipse.rse.core.subsystems.IConnectorService#setPassword(java.lang.String, java.lang.String, boolean, boolean) * @see org.eclipse.rse.core.subsystems.IConnectorService#setPassword(java.lang.String,
* java.lang.String, boolean, boolean)
*/ */
public void setPassword(String matchingUserId, String password, boolean persist, boolean propagate) { public void setPassword(String matchingUserId, String password, boolean persist, boolean propagate) {
} }
/** /**
* Indicates if credentials are shared with other connector services. * Indicates if credentials are shared with other connector services.
* This implementation returns false. * This implementation returns false.
@ -218,5 +220,5 @@ public abstract class BasicConnectorService extends AbstractConnectorService {
*/ */
public void setUserId(String userId) { public void setUserId(String userId) {
} }
} }