From 0f3a52740bc5c622013e5a41bef775a692139fe2 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Sun, 14 Jan 2024 21:22:49 +0000 Subject: [PATCH] Fix this-escape warnings --- .../java/uk/co/notnull/proxyqueues/ProxyDiscordHandler.java | 2 +- .../java/uk/co/notnull/proxyqueues/queues/ProxyQueueImpl.java | 2 +- .../java/uk/co/notnull/proxyqueues/queues/QueueHandlerImpl.java | 2 +- .../java/uk/co/notnull/proxyqueues/queues/QueuePlayerImpl.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/uk/co/notnull/proxyqueues/ProxyDiscordHandler.java b/src/main/java/uk/co/notnull/proxyqueues/ProxyDiscordHandler.java index 7b68bc2..fabe8bb 100644 --- a/src/main/java/uk/co/notnull/proxyqueues/ProxyDiscordHandler.java +++ b/src/main/java/uk/co/notnull/proxyqueues/ProxyDiscordHandler.java @@ -40,7 +40,7 @@ import java.util.Optional; import java.util.UUID; -public class ProxyDiscordHandler { +public final class ProxyDiscordHandler { private final ProxyQueuesImpl plugin; private static VerificationManager verificationManager; diff --git a/src/main/java/uk/co/notnull/proxyqueues/queues/ProxyQueueImpl.java b/src/main/java/uk/co/notnull/proxyqueues/queues/ProxyQueueImpl.java index eed5d60..11237b7 100644 --- a/src/main/java/uk/co/notnull/proxyqueues/queues/ProxyQueueImpl.java +++ b/src/main/java/uk/co/notnull/proxyqueues/queues/ProxyQueueImpl.java @@ -55,7 +55,7 @@ import java.util.concurrent.atomic.AtomicInteger; -public class ProxyQueueImpl implements uk.co.notnull.proxyqueues.api.queues.ProxyQueue { +public final class ProxyQueueImpl implements uk.co.notnull.proxyqueues.api.queues.ProxyQueue { private final ProxyQueuesImpl proxyQueues; diff --git a/src/main/java/uk/co/notnull/proxyqueues/queues/QueueHandlerImpl.java b/src/main/java/uk/co/notnull/proxyqueues/queues/QueueHandlerImpl.java index 4e018a0..1d11ead 100644 --- a/src/main/java/uk/co/notnull/proxyqueues/queues/QueueHandlerImpl.java +++ b/src/main/java/uk/co/notnull/proxyqueues/queues/QueueHandlerImpl.java @@ -40,7 +40,7 @@ import java.util.*; import java.util.concurrent.ConcurrentHashMap; -public class QueueHandlerImpl implements QueueHandler { +public final class QueueHandlerImpl implements QueueHandler { private final ConcurrentHashMap queues; private final SettingsManager settingsManager; diff --git a/src/main/java/uk/co/notnull/proxyqueues/queues/QueuePlayerImpl.java b/src/main/java/uk/co/notnull/proxyqueues/queues/QueuePlayerImpl.java index f99381b..835ee3e 100644 --- a/src/main/java/uk/co/notnull/proxyqueues/queues/QueuePlayerImpl.java +++ b/src/main/java/uk/co/notnull/proxyqueues/queues/QueuePlayerImpl.java @@ -34,7 +34,7 @@ import java.time.Instant; import java.time.temporal.ChronoUnit; -public class QueuePlayerImpl implements QueuePlayer { +public final class QueuePlayerImpl implements QueuePlayer { private final BossBar bossBar; private boolean connecting;