Remove unused imports

This commit is contained in:
Octavia Togami 2024-04-24 02:09:36 -07:00
parent 6ea5c13450
commit 99319e9ce7
No known key found for this signature in database
GPG Key ID: CC364524D1983C99
10 changed files with 1 additions and 13 deletions

View File

@ -140,6 +140,7 @@ Checks based on Google Checks, modified for EngineHub.
<property name="lineWrappingIndentation" value="4"/>
<property name="arrayInitIndent" value="4"/>
</module>
<module name="UnusedImports"/>
<module name="CustomImportOrder">
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="customImportOrderRules" value="THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE###STATIC"/>

View File

@ -44,8 +44,6 @@
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.Arrays;
import java.util.stream.Collectors;
public class PaperweightServerLevelDelegateProxy implements InvocationHandler {

View File

@ -30,8 +30,6 @@
import java.util.Set;
import java.util.stream.Collectors;
import static com.google.common.base.Preconditions.checkNotNull;
public class BukkitBlockCategoryRegistry implements BlockCategoryRegistry {
private Set<BlockType> getFromBukkitTag(Tag<Material> tag) {

View File

@ -23,7 +23,6 @@
import org.bukkit.entity.Player;
import org.bukkit.plugin.messaging.PluginMessageListener;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
/**

View File

@ -23,7 +23,6 @@
import java.io.UncheckedIOException;
import java.net.JarURLConnection;
import java.net.URI;
import java.net.URL;
import java.util.function.Supplier;
import java.util.jar.Attributes;
import java.util.jar.Manifest;

View File

@ -43,7 +43,6 @@
import static com.sk89q.worldedit.internal.command.CommandUtil.byCleanName;
import static com.sk89q.worldedit.internal.command.CommandUtil.getSubCommands;
import static java.util.stream.Collectors.toList;
/**
* Implementation of the //help command.

View File

@ -23,7 +23,6 @@
import com.sk89q.worldedit.world.registry.BlockCategoryRegistry;
import net.minecraft.core.Holder;
import net.minecraft.core.HolderSet;
import net.minecraft.core.Registry;
import net.minecraft.core.registries.Registries;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.TagKey;

View File

@ -33,9 +33,7 @@
import com.sk89q.worldedit.world.entity.EntityTypes;
import net.minecraft.core.registries.Registries;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.NbtOps;
import net.minecraft.resources.ResourceLocation;
import org.enginehub.linbus.tree.LinCompoundTag;
import java.lang.ref.WeakReference;
import javax.annotation.Nullable;

View File

@ -59,8 +59,6 @@
import java.util.Set;
import javax.annotation.Nullable;
import static java.util.stream.Collectors.toList;
class NeoForgePlatform extends AbstractPlatform implements MultiUserPlatform {
private final NeoForgeWorldEdit mod;

View File

@ -27,7 +27,6 @@
import net.minecraft.resources.ResourceLocation;
import net.minecraft.server.level.ServerPlayer;
import net.neoforged.bus.api.SubscribeEvent;
import net.neoforged.fml.common.EventBusSubscriber;
import net.neoforged.neoforge.network.event.RegisterPayloadHandlersEvent;
import java.nio.charset.StandardCharsets;