aboutsummaryrefslogtreecommitdiff
path: root/spark-nukkit/src/main/java
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-12-02 13:26:11 +0000
committerLuck <git@lucko.me>2021-12-02 13:26:11 +0000
commitb86d25d466a0180cc51bf36312e63472f59c3156 (patch)
treef4f4f68bf014f887d68fd86fb942532e28734e1a /spark-nukkit/src/main/java
parenta2048851dd61d646ba9f41f4be3b21f332e9a169 (diff)
downloadspark-b86d25d466a0180cc51bf36312e63472f59c3156.tar.gz
spark-b86d25d466a0180cc51bf36312e63472f59c3156.tar.bz2
spark-b86d25d466a0180cc51bf36312e63472f59c3156.zip
Update dependencies for 1.18
Diffstat (limited to 'spark-nukkit/src/main/java')
-rw-r--r--spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java4
1 files changed, 1 insertions, 3 deletions
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);
}