mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-20 06:35:50 +02:00
[cleanup] get rid of printStackTrace() to stdout
This commit is contained in:
parent
57c85da2ea
commit
57a1189806
1 changed files with 66 additions and 62 deletions
|
@ -137,10 +137,13 @@ public class SystemRemoteEditManager
|
|||
|
||||
|
||||
/**
|
||||
* Return the path to use relative to the hostname in the RemoteSystemsTempFiles project for saving a local replica
|
||||
* Return the path to use relative to the hostname in the
|
||||
* RemoteSystemsTempFiles project for saving a local replica
|
||||
*
|
||||
* @param hostname the originating remote host
|
||||
* @param remotePath the file path on the system (i.e. Windows)
|
||||
* @param subSystem the remote subsystem. The subsystem may be null if none is available.
|
||||
* @param subsystem the remote subsystem. The subsystem may be null if none
|
||||
* is available.
|
||||
* @return the relative replica path
|
||||
*/
|
||||
public String getWorkspacePathFor(String hostname, String remotePath, IRemoteFileSubSystem subsystem)
|
||||
|
@ -158,9 +161,11 @@ public class SystemRemoteEditManager
|
|||
|
||||
/**
|
||||
* Return the appropriate registered mapper for a host & path
|
||||
* @param hostname
|
||||
* @param remotePath
|
||||
* @param subsystem
|
||||
*
|
||||
* @param hostname the originating remote host
|
||||
* @param remotePath the file path on the system (i.e. Windows)
|
||||
* @param subsystem the remote subsystem. The subsystem may be null if none
|
||||
* is available.
|
||||
* @return appropriate mapper
|
||||
*/
|
||||
public ISystemMountPathMapper getMountPathMapperFor(String hostname, String remotePath, IRemoteFileSubSystem subsystem)
|
||||
|
@ -351,7 +356,6 @@ public class SystemRemoteEditManager
|
|||
}
|
||||
catch (CoreException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
SystemBasePlugin.logError("Error creating temp project", e); //$NON-NLS-1$
|
||||
}
|
||||
return editProject;
|
||||
|
@ -579,7 +583,7 @@ public class SystemRemoteEditManager
|
|||
Object rmtObject = null;
|
||||
try
|
||||
{
|
||||
rmtObject = subsystem.getObjectWithAbsoluteName(pathStr);
|
||||
rmtObject = subsystem.getObjectWithAbsoluteName(pathStr, new NullProgressMonitor());
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue