ss: History trees can define their own node types
[deliverable/tracecompass.git] / statesystem / org.eclipse.tracecompass.statesystem.core / src / org / eclipse / tracecompass / internal / statesystem / core / backend / historytree / HistoryTreeBackend.java
index 1f5f12a3440b169e0bc7cfeee723ae2d333e1f45..2aaa1e390c6ed9e271ef8a9566daaac781f50a76 100644 (file)
@@ -278,8 +278,8 @@ public class HistoryTreeBackend implements IStateHistoryBackend {
             while (!queue.isEmpty()) {
                 HTNode currentNode = queue.pop();
                 if (currentNode.getNodeType() == HTNode.NodeType.CORE) {
-                    /* Here we add the relevant children nodes for BFS */
-                    queue.addAll(getSHT().selectNextChildren((CoreNode) currentNode, t));
+                    /*Here we add the relevant children nodes for BFS*/
+                    queue.addAll(getSHT().selectNextChildren((ParentNode) currentNode, t));
                 }
                 currentNode.writeInfoFromNode(stateInfo, t);
             }
@@ -326,7 +326,7 @@ public class HistoryTreeBackend implements IStateHistoryBackend {
         while (interval == null && !queue.isEmpty()) {
             HTNode currentNode = queue.pop();
             if (currentNode.getNodeType() == HTNode.NodeType.CORE) {
-                queue.addAll(getSHT().selectNextChildren((CoreNode) currentNode, t));
+                queue.addAll(getSHT().selectNextChildren((ParentNode) currentNode, t));
             }
             interval = currentNode.getRelevantInterval(key, t);
         }
This page took 0.024039 seconds and 5 git commands to generate.