cleanup
This commit is contained in:
parent
d90183ca02
commit
646eaad2ce
@ -107,6 +107,7 @@ public class AuthMe extends JavaPlugin {
|
||||
|
||||
// TODO: split the plugin in more modules
|
||||
moduleManager = new ModuleManager(this);
|
||||
@SuppressWarnings("unused")
|
||||
int loaded = moduleManager.loadModules();
|
||||
|
||||
// TODO: remove vault as hard dependency
|
||||
|
||||
@ -16,12 +16,10 @@ import java.util.concurrent.Executors;
|
||||
public class CacheDataSource implements DataSource {
|
||||
|
||||
private final DataSource source;
|
||||
private final AuthMe plugin;
|
||||
private final ExecutorService exec;
|
||||
private final ConcurrentHashMap<String, PlayerAuth> cache = new ConcurrentHashMap<>();
|
||||
|
||||
public CacheDataSource(AuthMe pl, DataSource src) {
|
||||
this.plugin = pl;
|
||||
this.source = src;
|
||||
this.exec = Executors.newCachedThreadPool();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user