aboutsummaryrefslogtreecommitdiff
path: root/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitClassSourceLookup.java
diff options
context:
space:
mode:
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.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);
}