public void updateTerminalPoints(mxCellState state,Object source,Object target){
  if (target != null) {
    updateTerminalPoint(state,target,source,false);
  }
  if (source != null) {
    updateTerminalPoint(state,source,target,true);
  }
}

public void updateTerminalPoints ( mxCellState state , Object source , Object target ) { if ( target != null ) { updateTerminalPoint ( state , target , source , false ) ; } if ( source != null ) { updateTerminalPoint ( state , source , target , true ) ; } }
updates the terminal points in the given state .
