diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/manangers/SessionManager.java b/LaunchServer/src/main/java/pro/gravit/launchserver/manangers/SessionManager.java index 92c2a7d2..3dd5bf48 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/manangers/SessionManager.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/manangers/SessionManager.java @@ -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 getSessions() { - LogHelper.warning("Using deprecated method: sessionManager.getSession"); - return new HashSet<>(); + throw new UnsupportedOperationException(); } @Deprecated public void loadSessions(Set set) { - LogHelper.warning("Using deprecated method: sessionManager.loadSessions"); + throw new UnsupportedOperationException(); //clientSet.putAll(set.stream().collect(Collectors.toMap(c -> c.session, Function.identity()))); } }