mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 15:45:25 +02:00
Bug 154407 - Added an override for requiresPassword() to DStoreConnectorService to test for Windows system type.
This commit is contained in:
parent
df5a42ae60
commit
dfacee65aa
1 changed files with 10 additions and 0 deletions
|
@ -1315,5 +1315,15 @@ public class DStoreConnectorService extends AbstractConnectorService implements
|
|||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.rse.core.subsystems.AbstractConnectorService#requiresPassword()
|
||||
*/
|
||||
public boolean requiresPassword() {
|
||||
IHost host = getHost();
|
||||
String systemType = host.getSystemType();
|
||||
boolean requiresPassword = !systemType.equals("Windows");
|
||||
return requiresPassword;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue