}
return null;
}
});
}
<BUG>if (progress != null && progress.isRunning()) {
double fraction = (double)counter.incrementAndGet() / totalSize;</BUG>
progress.setFraction(fraction);
<BUG>}
}
private static void checkCanceled(ProgressIndicator progress) {
if (progress != null) {
progress.checkCanceled();</BUG>
}

}
catch (IOException ignored) {
}
