Use world as lock-object

This commit is contained in:
Sotr
2018-06-10 15:04:03 +08:00
parent 51a6e7345f
commit 5a90c8d8fd
3 changed files with 7 additions and 1515 deletions

View File

@@ -39,7 +39,7 @@ public abstract class Akari {
/**
* A common tick pool
*/
public static final ExecutorCompletionService<Void> STAGE_TICK = new ExecutorCompletionService<Void>(Executors.newFixedThreadPool(1, Akari.STAGE_FACTORY));
public static final ExecutorCompletionService<?> STAGE_TICK = new ExecutorCompletionService<>(Executors.newFixedThreadPool(1, Akari.STAGE_FACTORY));
/*
* The unsafe