void addQueryResult(long token,UISearchResult line,SearchResultMediator rp){
  if (rp.isStopped()) {
    return;
  }
  if (!rp.matches(token))   throw new IllegalArgumentException("guids don't match");
  rp.add(line);
  int resultPanelIndex;
  resultPanelIndex=entries.indexOf(rp);
  if (resultPanelIndex == -1) {
    return;
  }
  tabbedPane.setTitleAt(resultPanelIndex,titleOf(rp));
}

void addQueryResult ( long token , UISearchResult line , SearchResultMediator rp ) { if ( rp . isStopped ( ) ) { return ; } if ( ! rp . matches ( token ) ) throw new IllegalArgumentException ( "guids don't match" ) ; rp . add ( line ) ; int resultPanelIndex ; resultPanelIndex = entries . indexOf ( rp ) ; if ( resultPanelIndex == - 1 ) { return ; } tabbedPane . setTitleAt ( resultPanelIndex , titleOf ( rp ) ) ; }
if i rp is no longer the i ' th panel of this , returns silently . otherwise adds line to rp under the given group . updates the count on the tab in this and restarts the spinning lime .
