mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 10:45:23 +01:00
Cleanup
This commit is contained in:
parent
8fcb651ebb
commit
0eb1890cf9
@ -106,7 +106,6 @@ public class AuthMe extends JavaPlugin {
|
||||
private PermissionsManager permsMan;
|
||||
private NewSetting newSettings;
|
||||
private Messages messages;
|
||||
private PasswordSecurity passwordSecurity;
|
||||
private DataSource database;
|
||||
private PluginHooks pluginHooks;
|
||||
private SpawnLoader spawnLoader;
|
||||
@ -289,7 +288,7 @@ public class AuthMe extends JavaPlugin {
|
||||
permsMan = injector.getSingleton(PermissionsManager.class);
|
||||
bukkitService = injector.getSingleton(BukkitService.class);
|
||||
pluginHooks = injector.getSingleton(PluginHooks.class);
|
||||
passwordSecurity = injector.getSingleton(PasswordSecurity.class);
|
||||
injector.getSingleton(PasswordSecurity.class);
|
||||
spawnLoader = injector.getSingleton(SpawnLoader.class);
|
||||
commandHandler = injector.getSingleton(CommandHandler.class);
|
||||
management = injector.getSingleton(Management.class);
|
||||
|
@ -111,6 +111,7 @@ public class ReloadCommandTest {
|
||||
verify(authMe).stopOrUnload();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Test
|
||||
public void shouldIssueWarningForChangedDatasourceSetting() {
|
||||
// given
|
||||
|
Loading…
Reference in New Issue
Block a user