private void checkAndRunItem(ImportItem item){
  if (jobs.isEmpty()) {
    return;
  }
  if (!item.isIncluded()) {
    return;
  }
  if (verbose) {
    item.pushLog(this,ALERT.MESSAGE,"Import started for " + item.getName());
  }
  runImport(item);
  if (verbose) {
    item.pushLog(this,ALERT.MESSAGE,"Import completed for " + item.getName());
  }
  if (jobs.isEmpty()) {
    return;
  }
  item.readComplete();
}

private void checkAndRunItem ( ImportItem item ) { if ( jobs . isEmpty ( ) ) { return ; } if ( ! item . isIncluded ( ) ) { return ; } if ( verbose ) { item . pushLog ( this , ALERT . MESSAGE , "Import started for " + item . getName ( ) ) ; } runImport ( item ) ; if ( verbose ) { item . pushLog ( this , ALERT . MESSAGE , "Import completed for " + item . getName ( ) ) ; } if ( jobs . isEmpty ( ) ) { return ; } item . readComplete ( ) ; }
checks the item before running it .
