code: private void logIfJobIsCompleted(JobInstance jobInstance) {
          JobState currentState = getCurrentState(jobInstance.getId());
          if (currentState.isCompleted() && !jobInstance.isCopy()) {
              String message = String.format(
                      "State change for a completed Job is not allowed. Job %s is currently State=%s, Result=%s",
                      jobInstance.getIdentifier(), jobInstance.getState(), jobInstance.getResult());
              LOG.warn(message, new Exception().fillInStackTrace());
          }
      }
docs: TODO: (ketan) do we really need to reload the current state from DB?