CircleCI 2.0 w/ Removed unneed volatile and atomic

This commit is contained in:
Sotr
2018-08-11 03:22:00 +08:00
parent 4fdc9f0166
commit 01c40ed0d3
12 changed files with 89 additions and 820 deletions

View File

@@ -25,7 +25,7 @@ public class EntityTracker {
private final Set<EntityTrackerEntry> c = Sets.newHashSet();
public final ReentrantReadWriteUpdateLock entriesLock = new ReentrantReadWriteUpdateLock(); // Akarin - add lock
public final IntHashMap<EntityTrackerEntry> trackedEntities = new IntHashMap();
private volatile int e; // Akarin - volatile
private int e;
public EntityTracker(WorldServer worldserver) {
this.world = worldserver;