[ANY] Deprecated AutoSaveSessions API

This commit is contained in:
Gravita 2021-02-07 21:44:14 +07:00
parent d0f13743ed
commit 87cd668522

View file

@ -96,17 +96,16 @@ public void removeClient(UUID session) {
@Deprecated
public void updateClient(UUID session) {
LogHelper.warning("Using deprecated method: sessionManager.updateClient");
throw new UnsupportedOperationException();
}
@Deprecated
public Set<Client> getSessions() {
LogHelper.warning("Using deprecated method: sessionManager.getSession");
return new HashSet<>();
throw new UnsupportedOperationException();
}
@Deprecated
public void loadSessions(Set<Client> set) {
LogHelper.warning("Using deprecated method: sessionManager.loadSessions");
throw new UnsupportedOperationException();
//clientSet.putAll(set.stream().collect(Collectors.toMap(c -> c.session, Function.identity())));
}
}