lib/cpee/processtransformation/bpmn2.rb in cpee-1.3.161 vs lib/cpee/processtransformation/bpmn2.rb in cpee-1.3.162
- old
+ new
@@ -221,12 +221,10 @@
### at the output time it is decided wether this can be optimized
branch << Loop.new(node.id)
### duplicate because we need it later to remove all the shit from traces
lops = loops.dup
### remove the exclusive gateway because we no longer need it
- unless traces.all_loops?
- lops.add_breaks(self.object_id,node.type == :exclusiveGateway)
- end
+ lops.add_breaks(self.object_id,node.type == :exclusiveGateway)
traces.remove(loops)
if node.type == :exclusiveGateway
lops.shift_all
traces.shift_all
else