code: private synchronized void finishTransition(final InternalState current, final InternalState next) {
          internalSetState(getTransitionTask(next), current, next);
          transition();
      }
docs: Finish a state transition from a notification.
  
  @param current
  @param next