diff options
author | Luck <git@lucko.me> | 2021-12-02 13:26:11 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-12-02 13:26:11 +0000 |
commit | b86d25d466a0180cc51bf36312e63472f59c3156 (patch) | |
tree | f4f4f68bf014f887d68fd86fb942532e28734e1a /spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java | |
parent | a2048851dd61d646ba9f41f4be3b21f332e9a169 (diff) | |
download | spark-b86d25d466a0180cc51bf36312e63472f59c3156.tar.gz spark-b86d25d466a0180cc51bf36312e63472f59c3156.tar.bz2 spark-b86d25d466a0180cc51bf36312e63472f59c3156.zip |
Update dependencies for 1.18
Diffstat (limited to 'spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java')
-rw-r--r-- | spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java | 4 |
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); } |