1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00

dstore - removing some warnings

This commit is contained in:
David McKnight 2007-11-05 21:16:05 +00:00
parent 700801e9c5
commit a837fdda54
5 changed files with 4 additions and 23 deletions

View file

@ -623,7 +623,7 @@ public class DStoreConnectorService extends StandardConnectorService implements
SystemSignonInformation info = getSignonInformation(); SystemSignonInformation info = getSignonInformation();
if (info == null) if (info == null)
{ {
System.out.println("password info = null!"); System.out.println("password info = null!"); //$NON-NLS-1$
} }
int daemonPort = 0; int daemonPort = 0;

View file

@ -166,9 +166,6 @@ public class ConnectionStatusListener implements IDomainListener, IRunnableWithP
} }
} }
/**
* @see IDomainListener#getShell()
*/
public Shell getShell() public Shell getShell()
{ {
return internalGetShell(); return internalGetShell();

View file

@ -224,21 +224,7 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
return false; return false;
} }
/**
* @see IDomainListener#getShell()
*/
public Shell getShell()
{
// dy: DomainNotifier (which calls this method) requires the shell not be disposed
//if (shell == null) {
if (_shell == null || _shell.isDisposed())
{
FindShell findShell = new FindShell();
Display.getDefault().syncExec(findShell);
_shell = findShell.shell;
}
return _shell;
}
/** /**
* @see ICommunicationsListener#communicationsStateChange(CommunicationsEvent) * @see ICommunicationsListener#communicationsStateChange(CommunicationsEvent)
@ -393,7 +379,7 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
/** /**
* Start diagnostic * Start diagnostic
* *
* @param diagnostic is the an implementation of ICommunicationsDiagnostic * @param factory is the an implementation of ICommunicationsDiagnostic
* @param quiet is the flag to indicate if user should be prompted * @param quiet is the flag to indicate if user should be prompted
* - true for no prompt * - true for no prompt
* @return ICommunciationsDiagnostic class instance * @return ICommunciationsDiagnostic class instance

View file

@ -362,7 +362,7 @@ public class RexecDstoreServer implements IServerLauncher
this.propertyInfo = propertyInfo; this.propertyInfo = propertyInfo;
// set path... // set path...
this.cwd = ((IRemoteServerLauncher)propertyInfo).getServerPath(); this.cwd = ((IRemoteServerLauncher)propertyInfo).getServerPath();
char separatorChar = signonInfo.getSystemType().isWindows() ? '\\' : '/'; //$NON-NLS-1$ char separatorChar = signonInfo.getSystemType().isWindows() ? '\\' : '/';
if (cwd.length() > 0 && cwd.charAt(cwd.length() - 1) != separatorChar) if (cwd.length() > 0 && cwd.charAt(cwd.length() - 1) != separatorChar)
cwd += separatorChar; cwd += separatorChar;
// set script... // set script...

View file

@ -44,7 +44,6 @@ public class DStoreServiceCommandShell extends ServiceCommandShell
{ {
private DataElement _status; private DataElement _status;
private DataStore _ds; private DataStore _ds;
private String _name;
private boolean _done = false; private boolean _done = false;
public CleanUpSpirited(DataElement status, String name) public CleanUpSpirited(DataElement status, String name)
@ -52,7 +51,6 @@ public class DStoreServiceCommandShell extends ServiceCommandShell
_status = status; _status = status;
_ds = status.getDataStore(); _ds = status.getDataStore();
_ds.getDomainNotifier().addDomainListener(this); _ds.getDomainNotifier().addDomainListener(this);
_name = name;
} }
public void domainChanged(DomainEvent e) public void domainChanged(DomainEvent e)