private boolean isScanRootAvailable(URL url){
  for (  ScanRoot scanRoot : _pendingScanRoots) {
    if (url.equals(scanRoot.getUrl()))     return false;
  }
  return true;
}

private boolean isScanRootAvailable ( URL url ) { for ( ScanRoot scanRoot : _pendingScanRoots ) { if ( url . equals ( scanRoot . getUrl ( ) ) ) return false ; } return true ; }
adds a scan listener .
