Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-08-12 11:25:10 +0000
committerUwe Stieber2013-08-12 11:25:10 +0000
commit3b3082be22d9d76fe02cbd206cf43fc8a5ca2f17 (patch)
treea7175b2a30b4a6872c78b4219d7f11302540ef1b /target_explorer
parent724a411ec648f7bfffc05b98c6276d30762d51db (diff)
downloadorg.eclipse.tcf-3b3082be22d9d76fe02cbd206cf43fc8a5ca2f17.tar.gz
org.eclipse.tcf-3b3082be22d9d76fe02cbd206cf43fc8a5ca2f17.tar.xz
org.eclipse.tcf-3b3082be22d9d76fe02cbd206cf43fc8a5ca2f17.zip
Target Explorer: Fix do not scan Eclipse CLI peers
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/ScannerRunnable.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/ScannerRunnable.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/ScannerRunnable.java
index e232a048e..4a15db66d 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/ScannerRunnable.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/ScannerRunnable.java
@@ -139,6 +139,12 @@ public class ScannerRunnable implements Runnable, IChannel.IChannelListener {
return;
}
+ // Don't scan "Eclipse CLI" peers
+ if (peer.getName() != null && peer.getName().startsWith("Eclipse CLI")) { //$NON-NLS-1$
+ if (callback != null) callback.done(this, Status.OK_STATUS);
+ return;
+ }
+
// Do not open a channel to incomplete peer nodes
if (peerNode.isComplete()) {
if (CoreBundleActivator.getTraceHandler().isSlotEnabled(ITracing.ID_TRACE_SCANNER)) {

Back to the top