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