From bc9f5f55e82acdbc4bf495fb74c27e80c1dc1176 Mon Sep 17 00:00:00 2001 From: Sebastian Krings <sebastian@krin.gs> Date: Wed, 16 Jan 2013 14:49:48 +0100 Subject: [PATCH] small refactoring --- .../src/de/prob/units/sc/MachineAttributeProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/de.prob.units/src/de/prob/units/sc/MachineAttributeProcessor.java b/de.prob.units/src/de/prob/units/sc/MachineAttributeProcessor.java index 92a739fd..f2c750af 100644 --- a/de.prob.units/src/de/prob/units/sc/MachineAttributeProcessor.java +++ b/de.prob.units/src/de/prob/units/sc/MachineAttributeProcessor.java @@ -40,8 +40,8 @@ public class MachineAttributeProcessor extends SCProcessorModule { return; for (IVariable var : variables) { - ISCVariable scVar = scMachineRoot.getSCVariable(var - .getIdentifierString()); + String identifier = var.getIdentifierString(); + ISCVariable scVar = scMachineRoot.getSCVariable(identifier); // might have been filtered out by previous modules if (scVar.exists()) { -- GitLab