1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-16 21:45: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 // Add return codes
public static final int RC_OK = 0; public static final int RC_OK = 0;
public static final int RC_ALREADY_EXISTS = 1; 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_DENIED = 2;
public static final int RC_ERROR = -1; public static final int RC_ERROR = -1;
@ -188,11 +189,13 @@ public class PasswordPersistenceManager {
} }
/** /**
* Removes all passwords for a host name for a given system type. * Removes all passwords for a host name for a given system type. Use the
* Use the default system type explicitly to remove those entries. * default system type explicitly to remove those entries.
*
* @param systemType The system type of the host * @param systemType The system type of the host
* @param hostName The IP address of the host in canonical format * @param hostName The IP address of the host in canonical format
* @return the number of passwords removed from the keyring * @return the number of passwords removed from the keyring
* @since org.eclipse.rse.core 3.0
*/ */
public int remove(IRSESystemType systemType, String hostName) { public int remove(IRSESystemType systemType, String hostName) {
Map passwords = getPasswordMap(systemType); Map passwords = getPasswordMap(systemType);