Removed SessionsTable#getSessionInfoOfServer() - not used

This commit is contained in:
Rsl1122 2019-02-02 12:43:48 +02:00
parent 687d300e87
commit 9145f6aa28
2 changed files with 1 additions and 5 deletions

View File

@ -286,10 +286,6 @@ public class SessionsTable extends Table {
});
}
public Map<UUID, List<Session>> getSessionInfoOfServer() {
return getSessionInfoOfServer(getServerUUID());
}
public Map<UUID, Long> getLastSeenForAllPlayers() {
String sql = "SELECT" +
" MAX(" + SESSION_END + ") as last_seen, " +

View File

@ -595,7 +595,7 @@ public abstract class CommonDBTest {
commitTest();
Map<UUID, List<Session>> sessions = sessionsTable.getSessionInfoOfServer();
Map<UUID, List<Session>> sessions = sessionsTable.getSessionInfoOfServer(serverUUID);
session.setPlayerKills(new ArrayList<>());
session.setWorldTimes(new WorldTimes(new HashMap<>()));