1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 13:35:22 +02:00

[cleanup] Add API "since" Javadoc tags

This commit is contained in:
Martin Oberhuber 2008-04-02 16:12:51 +00:00
parent e0f056e92f
commit 847d8a4acd

View file

@ -61,6 +61,7 @@ public class PasswordPersistenceManager {
// Add return codes
public static final int RC_OK = 0;
public static final int RC_ALREADY_EXISTS = 1;
/** @since org.eclipse.rse.core 3.0 */
public static final int RC_DENIED = 2;
public static final int RC_ERROR = -1;
@ -187,12 +188,14 @@ public class PasswordPersistenceManager {
remove(info.getSystemType(), info.getHostname(), info.getUserId());
}
/**
* Removes all passwords for a host name for a given system type.
* Use the default system type explicitly to remove those entries.
/**
* Removes all passwords for a host name for a given system type. Use the
* default system type explicitly to remove those entries.
*
* @param systemType The system type of the host
* @param hostName The IP address of the host in canonical format
* @return the number of passwords removed from the keyring
* @since org.eclipse.rse.core 3.0
*/
public int remove(IRSESystemType systemType, String hostName) {
Map passwords = getPasswordMap(systemType);