mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] Deprecated warning
This commit is contained in:
parent
929a3a4ebb
commit
b5ce3102a9
3 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,7 @@ public static AuthProviderResult authError(String message) throws AuthException
|
|||
throw new AuthException(message);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public static void registerProviders() {
|
||||
if (!registredProv) {
|
||||
providers.register("null", NullAuthProvider.class);
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
import pro.gravit.launchserver.manangers.hook.AuthHookManager;
|
||||
import pro.gravit.utils.helper.SecurityHelper;
|
||||
|
||||
@Deprecated
|
||||
public class HibernateAuthProvider extends AuthProvider implements RequiredDAO {
|
||||
public boolean autoReg;
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ public final class LaunchServerConfig {
|
|||
public boolean copyBinaries = true;
|
||||
public LauncherConfig.LauncherEnvironment env;
|
||||
public Map<String, AuthProviderPair> auth;
|
||||
@Deprecated
|
||||
public DaoProvider dao;
|
||||
public SessionStorage sessions;
|
||||
|
||||
|
|
Loading…
Reference in a new issue