}
pm.taskStarted(tr.get(ID + ".startTask"), -1);
pm.worked(10);
ImportJavaOne importer = new ImportJavaOne();
ImportJavaOne.overwriteSettings(settings);
FastMap<String, Person> persons = new FastMap<String, Person>();
// TODO update progres:
Collection<JavaOneInterval> coll = importer.parse(istream);
double tmp = 80.0 / (coll.size() + 1);
int counter = 0;
Dao<Event> eDao = dataPool.getDao(Event.class);
for (JavaOneInterval ev : coll) {
pm.worked(10 + (int) (counter * tmp));