removeVariables() in VariableScopeImpl does not consider parent scopes

Description

The implementation of removeVariables() does not remove the variables in parent scopes. Furthermore the implementation is equivalent to removeVariablesLocal().

Environment

None

Assignee

Frederik Heremans

Reporter

Roman Smirnov (camunda)

Labels

None

Components

Fix versions

Priority

Major
Configure