1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

Bug 141842: Clear Password action is disabled

This commit is contained in:
Kushal Munir 2006-05-18 21:56:26 +00:00
parent 1370bbef90
commit dfe61da0ca
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ public class SystemClearAllPasswordsAction extends SystemBaseAction {
ISubSystem subsystem = subsystems[i];
IConnectorService system = subsystem.getConnectorService();
anyOk = !system.isConnected() && system.isPasswordCached();
anyOk = !system.isConnected() && system.isPasswordCached(true);
if (anyOk)
{
@ -92,7 +92,7 @@ public class SystemClearAllPasswordsAction extends SystemBaseAction {
{
IConnectorService system = ss.getConnectorService();
if (system.isPasswordCached())
if (system.isPasswordCached() || system.isPasswordCached(true))
{
// get the user id
String userId = system.getUserId();

View file

@ -57,7 +57,7 @@ public class SystemClearPasswordAction extends SystemBaseAction
{
if (!(obj instanceof ISubSystem) ||
((ISubSystem)obj).getConnectorService().isConnected() ||
!(((ISubSystem)obj).getConnectorService().isPasswordCached())) {
!(((ISubSystem)obj).getConnectorService().isPasswordCached(true))) {
return false;
}
else {