public ImportTask[] makeImportTasks(){
  final ImportTask[] importTasks=new ImportTask[size()];
  int ix=0;
  for (  final ImportItemBase item : getItems()) {
    final ImportFolder selectedPath=(ImportFolder)item;
    importTasks[ix++]=ImportTaskFactory.createImportTask(selectedPath,importOptions);
  }
  return importTasks;
}

public ImportTask [ ] makeImportTasks ( ) { final ImportTask [ ] importTasks = new ImportTask [ size ( ) ] ; int ix = 0 ; for ( final ImportItemBase item : getItems ( ) ) { final ImportFolder selectedPath = ( ImportFolder ) item ; importTasks [ ix ++ ] = ImportTaskFactory . createImportTask ( selectedPath , importOptions ) ; } return importTasks ; }
creates an array of importtasks that contains a task for each selectedpath in this selectionset .
