From d72121aec93bf9446235304f5dee9ef47774100f Mon Sep 17 00:00:00 2001 From: Montori Date: Wed, 13 Apr 2022 16:48:24 +0200 Subject: [PATCH] meta: tidying up warnings --- src/main/java/de/voidtech/gerald/Gerald.java | 4 ---- .../java/de/voidtech/gerald/service/PlaywrightService.java | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/de/voidtech/gerald/Gerald.java b/src/main/java/de/voidtech/gerald/Gerald.java index 287e8961..99140a0b 100644 --- a/src/main/java/de/voidtech/gerald/Gerald.java +++ b/src/main/java/de/voidtech/gerald/Gerald.java @@ -26,7 +26,6 @@ import net.dv8tion.jda.api.JDA; import net.dv8tion.jda.api.JDABuilder; import net.dv8tion.jda.api.OnlineStatus; -//import net.dv8tion.jda.api.interactions.commands.OptionType; import net.dv8tion.jda.api.requests.GatewayIntent; import net.dv8tion.jda.api.utils.Compression; import net.dv8tion.jda.api.utils.MemberCachePolicy; @@ -39,10 +38,7 @@ import org.springframework.core.annotation.Order; import javax.security.auth.login.LoginException; -import java.util.ArrayList; -import java.util.Arrays; import java.util.HashSet; -import java.util.List; import java.util.Properties; import java.util.Set; diff --git a/src/main/java/de/voidtech/gerald/service/PlaywrightService.java b/src/main/java/de/voidtech/gerald/service/PlaywrightService.java index 0efc28eb..1d189a5c 100644 --- a/src/main/java/de/voidtech/gerald/service/PlaywrightService.java +++ b/src/main/java/de/voidtech/gerald/service/PlaywrightService.java @@ -30,6 +30,7 @@ private NewContextOptions getContextOptions() { } //@EventListener(ApplicationReadyEvent.class) + @SuppressWarnings("unused") private void initialisePlaywright() { ExecutorService playwrightExecutor = threadManager.getThreadByName("Playwright"); playwrightExecutor.execute(new Runnable() {