Loading de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/validation/CodeStyleValidator.xtend +2 −1 Original line number Diff line number Diff line Loading @@ -1202,9 +1202,10 @@ class CodeStyleValidator extends AbstractDeclarativeValidator { } private def checkNoUnusedLocalDefinitionsAll(TTCN3Reference variable) { val component = variable.findDesiredParent(ComponentDef) val parentControl = variable.findDesiredParent(ModuleControlBody) val parent = variable.variableLocal if (parent != null || parentControl != null) { if (component == null && (parent != null || parentControl != null)) { val module = variable.findDesiredParent(TTCN3Module) if (variable.isUnreferenced(module, false)) { statistics.incrementCountStyle Loading Loading
de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/validation/CodeStyleValidator.xtend +2 −1 Original line number Diff line number Diff line Loading @@ -1202,9 +1202,10 @@ class CodeStyleValidator extends AbstractDeclarativeValidator { } private def checkNoUnusedLocalDefinitionsAll(TTCN3Reference variable) { val component = variable.findDesiredParent(ComponentDef) val parentControl = variable.findDesiredParent(ModuleControlBody) val parent = variable.variableLocal if (parent != null || parentControl != null) { if (component == null && (parent != null || parentControl != null)) { val module = variable.findDesiredParent(TTCN3Module) if (variable.isUnreferenced(module, false)) { statistics.incrementCountStyle Loading