fix(deps): update dependency com.squareup.okhttp3:okhttp to v5
This commit is contained in:
1 parent
aad528c5c7
commit
6b2d64388d
3 files changed
+6
-6
No files matched your search
@@ -7,8 +7,8 @@ package me.bobert.netneutrality.core.thread;
|
||||
*/
|
||||
|
||||
import me.bobert.netneutrality.exceptions.ExecutorException;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
||||
@@ -22,7 +22,7 @@ public class BaseThreadFactory implements ThreadFactory {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Thread newThread(@NotNull Runnable r) {
|
||||
public Thread newThread(@Nonnull Runnable r) {
|
||||
Thread thread = new Thread(r);
|
||||
thread.setName(name + "-" + threadId.getAndIncrement());
|
||||
thread.setUncaughtExceptionHandler(new ExecutorException());
|
||||
|
||||
@@ -35,10 +35,10 @@ import net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent;
|
||||
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
|
||||
import net.dv8tion.jda.api.events.message.react.MessageReactionAddEvent;
|
||||
import net.dv8tion.jda.api.hooks.EventListener;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.function.Consumer;
|
||||
@@ -112,7 +112,7 @@ public class EventsHandler implements EventListener {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEvent(@NotNull GenericEvent event) {
|
||||
public void onEvent(@Nonnull GenericEvent event) {
|
||||
handleEvent((Event) event);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user