Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2015-06-10 11:59:20 -0400
committerUwe Stieber2015-06-10 11:59:20 -0400
commit12fc75b6bd627c9996b9505d8ee00bc55db6f564 (patch)
tree918db5cf35d7cda4d47acbdb030868de7b51ee31
parent605797e9d640f999c5ceb15fb063c4d39a70be00 (diff)
downloadorg.eclipse.tcf-12fc75b6bd627c9996b9505d8ee00bc55db6f564.tar.gz
org.eclipse.tcf-12fc75b6bd627c9996b9505d8ee00bc55db6f564.tar.xz
org.eclipse.tcf-12fc75b6bd627c9996b9505d8ee00bc55db6f564.zip
Target Explorer: Fix deprecated use of FileTransferItem constructor
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/lm/delegates/RemoteAppLaunchManagerDelegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/lm/delegates/RemoteAppLaunchManagerDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/lm/delegates/RemoteAppLaunchManagerDelegate.java
index 9cdfba980..516a9b967 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/lm/delegates/RemoteAppLaunchManagerDelegate.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.core/src/org/eclipse/tcf/te/tcf/launch/core/lm/delegates/RemoteAppLaunchManagerDelegate.java
@@ -204,7 +204,7 @@ public class RemoteAppLaunchManagerDelegate extends DefaultLaunchManagerDelegate
for (Object selection : prjContext.getSelections()) {
if (selection instanceof IPath) {
IPath path = (IPath)selection;
- IFileTransferItem transfer = new FileTransferItem(path, new Path("/tmp/")); //$NON-NLS-1$
+ IFileTransferItem transfer = new FileTransferItem(path, "/tmp/"); //$NON-NLS-1$
if (!transfers.contains(transfer)) {
transfers.add(transfer);
}

Back to the top