Fix execution error with java 7

This commit is contained in:
Jesse Boyd 2016-11-13 08:35:52 +11:00
parent 8995ce254e
commit 705e4f202f
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -118,6 +118,7 @@ public class SetQueue {
pool.shutdown(); pool.shutdown();
pool.awaitTermination(Long.MAX_VALUE, TimeUnit.MILLISECONDS); pool.awaitTermination(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
pool = new ForkJoinPool(); pool = new ForkJoinPool();
completer = new ExecutorCompletionService(pool);
} }
} }
secondLast = System.currentTimeMillis(); secondLast = System.currentTimeMillis();