BZ-991058: cleaning up the code by removing duplicate class from jbpm-flow
(cherry picked from commit eb911b6de8c290b1f4772bcbfc0d87aef2858995)