public void removesScanResult(String uri,String method){
  SpiderScanResult toRemove=new SpiderScanResult(uri,method);
synchronized (scanResults) {
    int index=scanResults.indexOf(toRemove);
    if (index >= 0) {
      scanResults.remove(index);
      fireTableRowsDeleted(index,index);
    }
  }
}

public void removesScanResult ( String uri , String method ) { SpiderScanResult toRemove = new SpiderScanResult ( uri , method ) ; synchronized ( scanResults ) { int index = scanResults . indexOf ( toRemove ) ; if ( index >= 0 ) { scanResults . remove ( index ) ; fireTableRowsDeleted ( index , index ) ; } } }
removes the scan result for a particular uri and method . method is synchronized internally .
