From cb02c10c78e518b977e67110b3dfe3f109eccd7a Mon Sep 17 00:00:00 2001 From: Pawel Piech Date: Tue, 1 Apr 2008 20:09:43 +0000 Subject: [PATCH] [225193] Simplified AbstractVMContext constructor. --- .../examples/pda/ui/viewmodel/launch/PDAProgramVMNode.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/org.eclipse.dd.examples.pda.ui/src/org/eclipse/dd/examples/pda/ui/viewmodel/launch/PDAProgramVMNode.java b/plugins/org.eclipse.dd.examples.pda.ui/src/org/eclipse/dd/examples/pda/ui/viewmodel/launch/PDAProgramVMNode.java index 33fc71780bd..452cd0869b2 100644 --- a/plugins/org.eclipse.dd.examples.pda.ui/src/org/eclipse/dd/examples/pda/ui/viewmodel/launch/PDAProgramVMNode.java +++ b/plugins/org.eclipse.dd.examples.pda.ui/src/org/eclipse/dd/examples/pda/ui/viewmodel/launch/PDAProgramVMNode.java @@ -67,8 +67,8 @@ public class PDAProgramVMNode extends AbstractDMVMNode // VM node object, such that two terminated program contexts // from the same instance of VM node will be equal. private static class TerminatedProgramVMContext extends AbstractVMContext { - TerminatedProgramVMContext(IVMAdapter adapter, IVMNode node) { - super(adapter, node); + TerminatedProgramVMContext(IVMNode node) { + super(node); } @Override @@ -123,7 +123,7 @@ public class PDAProgramVMNode extends AbstractDMVMNode if (launch != null && launch.isInitialized() && launch.isShutDown()) { // If the debug session has been shut down, add a dummy // VM context representing the PDA thread. - update.setChild(new TerminatedProgramVMContext(getVMProvider().getVMAdapter(), this), 0); + update.setChild(new TerminatedProgramVMContext(this), 0); update.done(); } else { super.update(new IChildrenUpdate[] { update });