Checkstyle.

This commit is contained in:
wizjany 2019-03-22 14:03:43 -04:00
parent 9b473cecbd
commit 692ba6fda3

View File

@ -52,9 +52,7 @@ import com.sk89q.worldedit.world.block.BaseBlock;
import com.sk89q.worldedit.world.block.BlockState; import com.sk89q.worldedit.world.block.BlockState;
import com.sk89q.worldedit.world.block.BlockStateHolder; import com.sk89q.worldedit.world.block.BlockStateHolder;
import com.sk89q.worldedit.world.registry.BiomeRegistry; import com.sk89q.worldedit.world.registry.BiomeRegistry;
import sun.reflect.generics.tree.Tree;
import java.util.Arrays;
import java.util.Collection; import java.util.Collection;
/** /**
@ -85,7 +83,7 @@ public class WorldEditBinding extends BindingHelper {
@BindingMatch(classifier = Selection.class, @BindingMatch(classifier = Selection.class,
type = Region.class, type = Region.class,
behavior = BindingBehavior.PROVIDES) behavior = BindingBehavior.PROVIDES)
public Object getSelection(ArgumentStack context, Selection selection) throws IncompleteRegionException, ParameterException { public Object getSelection(ArgumentStack context, @SuppressWarnings("unused") Selection selection) throws IncompleteRegionException, ParameterException {
Player sender = getPlayer(context); Player sender = getPlayer(context);
LocalSession session = worldEdit.getSessionManager().get(sender); LocalSession session = worldEdit.getSessionManager().get(sender);
return session.getSelection(sender.getWorld()); return session.getSelection(sender.getWorld());