Move to Checkerframework

This commit is contained in:
Mariell Hoversholm committed 2020-09-09 22:15:53 +02:00
1 parent 9beb9f8397
commit c949836e3c
22 files changed
+82 -76

No files matched your search

@@ -5,7 +5,7 @@ import net.draycia.carbon.util.Registry;
import org.bukkit.Bukkit;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
import org.checkerframework.checker.nullness.qual.NonNull;
import java.util.List;
@@ -15,7 +15,8 @@ public class ChannelRegisterEvent extends Event {
private static final HandlerList handlers = new HandlerList();
@Override
public @NotNull HandlerList getHandlers() {
@NonNull
public HandlerList getHandlers() {
return handlers;
}