mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
Fix externalized strings warnings in tracer
This commit is contained in:
parent
128cbbcceb
commit
896ef5f33a
5 changed files with 4 additions and 17 deletions
|
@ -10,7 +10,7 @@ import org.osgi.framework.BundleContext;
|
|||
public class Activator extends AbstractUIPlugin {
|
||||
|
||||
// The plug-in ID
|
||||
public static final String PLUGIN_ID = "org.eclipse.rse.subsystems.files.ssh";
|
||||
public static final String PLUGIN_ID = "org.eclipse.rse.subsystems.files.ssh"; //$NON-NLS-1$
|
||||
|
||||
// The shared instance
|
||||
private static Activator plugin;
|
||||
|
|
|
@ -55,9 +55,4 @@ public class SftpFileAdapter implements IHostFileToRemoteFileAdapter {
|
|||
return file;
|
||||
}
|
||||
|
||||
public IRemoteFile convertToRemoteFile(FileServiceSubSystem ss, IRemoteFileContext context, IRemoteFile parent, Object object) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -23,7 +23,6 @@ import org.eclipse.rse.services.search.IHostSearchResultConfiguration;
|
|||
import org.eclipse.rse.services.search.IHostSearchResultSet;
|
||||
import org.eclipse.rse.services.search.ISearchService;
|
||||
import org.eclipse.rse.services.ssh.ISshService;
|
||||
import org.eclipse.rse.services.ssh.ISshSessionProvider;
|
||||
import org.eclipse.rse.services.ssh.files.SftpFileService;
|
||||
import org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystem;
|
||||
import org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystemConfiguration;
|
||||
|
@ -80,13 +79,7 @@ public class SftpFileSubSystemConfiguration extends FileServiceSubSystemConfigur
|
|||
|
||||
public IFileService createFileService(IHost host) {
|
||||
SshConnectorService connectorService = (SshConnectorService)getConnectorService(host);
|
||||
//return connectorService.getFileService();
|
||||
//TODO We have to get the file service from the connector service in order to make
|
||||
//sure the connector service can connect it when required. It might be better to
|
||||
//create a new instance here, and have it connect lazily on demand instead.
|
||||
//In fact, due to ssh timeouts, it might be necessary that we can re-connect
|
||||
//on demand on any operation anyway.
|
||||
return new SftpFileService((ISshSessionProvider)connectorService);
|
||||
return new SftpFileService(connectorService);
|
||||
}
|
||||
|
||||
public ISearchService createSearchService(IHost host) {
|
||||
|
|
|
@ -10,7 +10,7 @@ import org.osgi.framework.BundleContext;
|
|||
public class Activator extends AbstractUIPlugin {
|
||||
|
||||
// The plug-in ID
|
||||
public static final String PLUGIN_ID = "org.eclipse.rse.subsystems.shells.ssh";
|
||||
public static final String PLUGIN_ID = "org.eclipse.rse.subsystems.shells.ssh"; //$NON-NLS-1$
|
||||
|
||||
// The shared instance
|
||||
private static Activator plugin;
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.eclipse.rse.internal.model.Host;
|
|||
import org.eclipse.rse.model.IHost;
|
||||
import org.eclipse.rse.services.shells.IShellService;
|
||||
import org.eclipse.rse.services.ssh.ISshService;
|
||||
import org.eclipse.rse.services.ssh.ISshSessionProvider;
|
||||
import org.eclipse.rse.services.ssh.shell.SshShellService;
|
||||
import org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystem;
|
||||
import org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.ShellServiceSubSystemConfiguration;
|
||||
|
@ -63,7 +62,7 @@ public class SshShellSubSystemConfiguration extends
|
|||
|
||||
public IShellService createShellService(IHost host) {
|
||||
SshConnectorService cserv = (SshConnectorService)getConnectorService(host);
|
||||
return new SshShellService((ISshSessionProvider)cserv);
|
||||
return new SshShellService(cserv);
|
||||
}
|
||||
|
||||
public IConnectorService getConnectorService(IHost host) {
|
||||
|
|
Loading…
Add table
Reference in a new issue