Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-07-16 10:36:01 +0000
committerUwe Stieber2013-07-16 10:36:01 +0000
commit6f2f057bd8722ee83005972c4dc1a444a87e241a (patch)
tree4355eb2dd5934e2f39a5ebb0f8ed370dcfdb9bf9 /target_explorer
parent25b77499b2f0e170335368d95ed28af95b53c1fe (diff)
downloadorg.eclipse.tcf-6f2f057bd8722ee83005972c4dc1a444a87e241a.tar.gz
org.eclipse.tcf-6f2f057bd8722ee83005972c4dc1a444a87e241a.tar.xz
org.eclipse.tcf-6f2f057bd8722ee83005972c4dc1a444a87e241a.zip
Target Explorer: Fix wait for ready state modification
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/SetWaitForReadyStep.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/SetWaitForReadyStep.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/SetWaitForReadyStep.java
index 42d7db12c..386d936ea 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/SetWaitForReadyStep.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/SetWaitForReadyStep.java
@@ -48,7 +48,7 @@ public class SetWaitForReadyStep extends AbstractPeerModelStep {
@Override
public void run() {
int state = getActivePeerModelContext(context, data, fullQualifiedId).getIntProperty(IPeerModelProperties.PROP_STATE);
- if (state != IPeerModelProperties.STATE_CONNECTED) {
+ if (state == IPeerModelProperties.STATE_UNKNOWN || state == IPeerModelProperties.STATE_NOT_REACHABLE || state == IPeerModelProperties.STATE_ERROR) {
getActivePeerModelContext(context, data, fullQualifiedId).setProperty(IPeerModelProperties.PROP_STATE, IPeerModelProperties.STATE_WAITING_FOR_READY);
}
}

Back to the top