mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-09 00:59:44 +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
|
@Deprecated
|
||||||
public void updateClient(UUID session) {
|
public void updateClient(UUID session) {
|
||||||
LogHelper.warning("Using deprecated method: sessionManager.updateClient");
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Set<Client> getSessions() {
|
public Set<Client> getSessions() {
|
||||||
LogHelper.warning("Using deprecated method: sessionManager.getSession");
|
throw new UnsupportedOperationException();
|
||||||
return new HashSet<>();
|
|
||||||
}
|
}
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void loadSessions(Set<Client> set) {
|
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())));
|
//clientSet.putAll(set.stream().collect(Collectors.toMap(c -> c.session, Function.identity())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue