From b86d25d466a0180cc51bf36312e63472f59c3156 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 2 Dec 2021 13:26:11 +0000 Subject: Update dependencies for 1.18 --- .../src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'spark-nukkit/src/main/java/me') diff --git a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java index 9db4ee2..4fed396 100644 --- a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java +++ b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java @@ -22,8 +22,6 @@ package me.lucko.spark.nukkit; import me.lucko.spark.common.util.ClassSourceLookup; -import org.checkerframework.checker.nullness.qual.Nullable; - import cn.nukkit.plugin.PluginClassLoader; import java.io.IOException; @@ -32,7 +30,7 @@ import java.net.URISyntaxException; public class NukkitClassSourceLookup extends ClassSourceLookup.ByFirstUrlSource { @Override - public @Nullable String identify(ClassLoader loader) throws IOException, URISyntaxException { + public String identify(ClassLoader loader) throws IOException, URISyntaxException { if (loader instanceof PluginClassLoader) { return super.identify(loader); } -- cgit