Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/model/ModelManager.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/model/ModelManager.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/model/ModelManager.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/model/ModelManager.java
index cdf1a28a3..321a365a6 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/model/ModelManager.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/model/ModelManager.java
@@ -116,10 +116,10 @@ public final class ModelManager {
if (peerModel == null) {
// Create the model instance
IPeerModel model = new PeerModel();
- // Refresh the model right away
- model.getService(IPeerModelRefreshService.class).refresh(null);
// Apply to the global variable
peerModel = model;
+ // Refresh the model right away
+ model.getService(IPeerModelRefreshService.class).refresh(null);
}
// If locator model is set in the mean while, initialize got
@@ -128,10 +128,10 @@ public final class ModelManager {
// Create the model instance
ILocatorModel model = new LocatorModel();
// Refresh the model right away
- model.getService(ILocatorModelRefreshService.class).refresh(null);
- ((LocatorModel)model).checkLocatorListener();
// Apply to the global variable
locatorModel = model;
+ model.getService(ILocatorModelRefreshService.class).refresh(null);
+ ((LocatorModel)model).checkLocatorListener();
}
}

Back to the top