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