mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[ANY] Deprecated AutoSaveSessions API
This commit is contained in:
parent
d0f13743ed
commit
87cd668522
1 changed files with 3 additions and 4 deletions
|
@ -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())));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue