1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +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();
if (info == null)
{
System.out.println("password info = null!");
System.out.println("password info = null!"); //$NON-NLS-1$
}
int daemonPort = 0;

View file

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

View file

@ -224,21 +224,7 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
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)
@ -393,7 +379,7 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
/**
* 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
* - true for no prompt
* @return ICommunciationsDiagnostic class instance

View file

@ -362,7 +362,7 @@ public class RexecDstoreServer implements IServerLauncher
this.propertyInfo = propertyInfo;
// set path...
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)
cwd += separatorChar;
// set script...

View file

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