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