#575 Hotfix for reload support

- Create temporary method for reloading any stateful entities -> a lot of duplicated code, to be fixed soon within #432
- Remove unused methods
This commit is contained in:
ljacqu
2016-03-05 22:30:35 +01:00
parent 83dd1cf4a3
commit 98df21d75a
11 changed files with 88 additions and 84 deletions
@@ -162,12 +162,6 @@ public class CacheDataSource implements DataSource {
}
}
@Override
public void reload() { // unused method
source.reload();
cachedAuths.invalidateAll();
}
@Override
public synchronized boolean updateEmail(final PlayerAuth auth) {
boolean result = source.updateEmail(auth);