Issue #313: command line parameter for ignore all errors

This commit is contained in:
Honfika
2013-08-20 19:26:34 +02:00
parent 7ef99dc3c7
commit 2f55960136

View File

@@ -598,7 +598,7 @@ public class SWF {
}
public List<File> exportActionScript3(AbortRetryIgnoreHandler handler, String outdir, boolean isPcode, boolean parallel) {
ExecutorService executor = Executors.newFixedThreadPool(20);
ExecutorService executor = Executors.newFixedThreadPool(parallel ? 20 : 1);
List<Future<File>> futureResults = new ArrayList<>();
AtomicInteger cnt = new AtomicInteger(1);
List<ABCContainerTag> abcTags = new ArrayList<>();