protected void processStyle12Adjustment(Game game,Style12Message message,GameService service,String entireMessage){
  if (LOG.isDebugEnabled()) {
    LOG.debug("Processing obs/playing/ex position move.");
  }
  if (LOG.isDebugEnabled()) {
    LOG.debug("No state transitions occured. Processing style12 on existing game.");
  }
  if (!IcsUtils.adjustToTakebacks(game,message,connector)) {
    if (LOG.isDebugEnabled()) {
      LOG.debug("Making move in obs/playing position.");
    }
    if (IcsUtils.addCurrentMove(game,message,connector)) {
      if (LOG.isDebugEnabled()) {
        LOG.debug("Position was a move firing state changed.");
      }
      service.fireGameStateChanged(message.gameId,true);
    }
 else {
      if (LOG.isDebugEnabled()) {
        LOG.debug("Position was not a move firing state changed.");
      }
      service.fireGameStateChanged(message.gameId,false);
    }
  }
 else {
    if (LOG.isDebugEnabled()) {
      LOG.debug("Adjusted for takebacks.");
    }
    service.fireGameStateChanged(message.gameId,false);
  }
}

protected void processStyle12Adjustment ( Game game , Style12Message message , GameService service , String entireMessage ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Processing obs/playing/ex position move." ) ; } if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "No state transitions occured. Processing style12 on existing game." ) ; } if ( ! IcsUtils . adjustToTakebacks ( game , message , connector ) ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Making move in obs/playing position." ) ; } if ( IcsUtils . addCurrentMove ( game , message , connector ) ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Position was a move firing state changed." ) ; } service . fireGameStateChanged ( message . gameId , true ) ; } else { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Position was not a move firing state changed." ) ; } service . fireGameStateChanged ( message . gameId , false ) ; } } else { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Adjusted for takebacks." ) ; } service . fireGameStateChanged ( message . gameId , false ) ; } }
playing , observing style 12 adjustments flow through here .
