private void doDelete(ScriptStep step){
  if (aggregatorEditor.isAggregator(step)) {
    ScriptStep stepPair=aggregatorEditor.getAggregatorPair(step);
    steps.remove(stepPair);
    searchBean.removeFromSearchMatch(stepPair);
  }
  steps.remove(step);
  searchBean.removeFromSearchMatch(step);
  reindexScriptSteps();
}

private void doDelete ( ScriptStep step ) { if ( aggregatorEditor . isAggregator ( step ) ) { ScriptStep stepPair = aggregatorEditor . getAggregatorPair ( step ) ; steps . remove ( stepPair ) ; searchBean . removeFromSearchMatch ( stepPair ) ; } steps . remove ( step ) ; searchBean . removeFromSearchMatch ( step ) ; reindexScriptSteps ( ) ; }
deletes a request from the script .
