Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Apr 29, 2024
1 parent 6ea5c13 commit 99319e9
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 13 deletions.
1 change: 1 addition & 0 deletions config/checkstyle/checkstyle.xml
Expand Up @@ -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"/>
Expand Down
Expand Up @@ -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 {

Expand Down
Expand Up @@ -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) {
Expand Down
Expand Up @@ -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;

/**
Expand Down
Expand Up @@ -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;
Expand Down
Expand Up @@ -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.
Expand Down
Expand Up @@ -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;
Expand Down
Expand Up @@ -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;
Expand Down
Expand Up @@ -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;
Expand Down
Expand Up @@ -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;
Expand Down

0 comments on commit 99319e9

Please sign in to comment.