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

[cleanup] get rid of printStackTrace() to stdout

This commit is contained in:
Martin Oberhuber 2008-04-23 23:37:36 +00:00
parent 57c85da2ea
commit 57a1189806

View file

@ -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 hostname the originating remote host
* @param remotePath the file path on the system (i.e. Windows) * @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 * @return the relative replica path
*/ */
public String getWorkspacePathFor(String hostname, String remotePath, IRemoteFileSubSystem subsystem) 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 * Return the appropriate registered mapper for a host & path
* @param hostname *
* @param remotePath * @param hostname the originating remote host
* @param subsystem * @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 * @return appropriate mapper
*/ */
public ISystemMountPathMapper getMountPathMapperFor(String hostname, String remotePath, IRemoteFileSubSystem subsystem) public ISystemMountPathMapper getMountPathMapperFor(String hostname, String remotePath, IRemoteFileSubSystem subsystem)
@ -351,7 +356,6 @@ public class SystemRemoteEditManager
} }
catch (CoreException e) catch (CoreException e)
{ {
e.printStackTrace();
SystemBasePlugin.logError("Error creating temp project", e); //$NON-NLS-1$ SystemBasePlugin.logError("Error creating temp project", e); //$NON-NLS-1$
} }
return editProject; return editProject;
@ -579,7 +583,7 @@ public class SystemRemoteEditManager
Object rmtObject = null; Object rmtObject = null;
try try
{ {
rmtObject = subsystem.getObjectWithAbsoluteName(pathStr); rmtObject = subsystem.getObjectWithAbsoluteName(pathStr, new NullProgressMonitor());
} }
catch (Exception e) catch (Exception e)
{ {