Make fields final if possible to ensure immutability
This commit is contained in:
@@ -234,8 +234,8 @@ public class CompassService implements ThreadFactory
|
||||
return executor.submit( new CMUpdatePost( w, cx, cz, cdy, false ) );
|
||||
}
|
||||
|
||||
HashMap<World, CompassReader> worldSet = new HashMap<World, CompassReader>();
|
||||
ExecutorService executor;
|
||||
final HashMap<World, CompassReader> worldSet = new HashMap<World, CompassReader>();
|
||||
final ExecutorService executor;
|
||||
|
||||
final File rootFolder;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user