From 5183726c39752c83fc946336e8fc3a6a5e6f67d0 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Fri, 3 Aug 2012 14:07:30 +0200 Subject: [PATCH] Fixed some warnings. --- src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java | 2 -- .../java/com/sk89q/worldedit/spout/WorldEditListener.java | 6 ------ 2 files changed, 8 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java b/src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java index 741b17bbe..e302338a0 100644 --- a/src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java +++ b/src/main/java/com/sk89q/worldedit/spout/SpoutPlayer.java @@ -21,7 +21,6 @@ package com.sk89q.worldedit.spout; -import com.sk89q.util.StringUtil; import com.sk89q.worldedit.LocalPlayer; import com.sk89q.worldedit.LocalWorld; import com.sk89q.worldedit.ServerInterface; @@ -32,7 +31,6 @@ import com.sk89q.worldedit.cui.CUIEvent; import org.spout.api.Client; import org.spout.api.chat.style.ChatStyle; -import org.spout.api.entity.Entity; import org.spout.api.entity.component.Controller; import org.spout.api.geo.discrete.Point; import org.spout.api.inventory.ItemStack; diff --git a/src/main/java/com/sk89q/worldedit/spout/WorldEditListener.java b/src/main/java/com/sk89q/worldedit/spout/WorldEditListener.java index 4a4e220ae..ba35e5416 100644 --- a/src/main/java/com/sk89q/worldedit/spout/WorldEditListener.java +++ b/src/main/java/com/sk89q/worldedit/spout/WorldEditListener.java @@ -21,7 +21,6 @@ package com.sk89q.worldedit.spout; -import com.sk89q.util.StringUtil; import com.sk89q.worldedit.LocalPlayer; import com.sk89q.worldedit.LocalWorld; import com.sk89q.worldedit.WorldEdit; @@ -32,7 +31,6 @@ import org.spout.api.chat.ChatSection; import org.spout.api.event.EventHandler; import org.spout.api.event.Listener; import org.spout.api.event.Order; -import org.spout.api.event.player.PlayerChatEvent; import org.spout.api.event.player.PlayerInteractEvent; import org.spout.api.event.player.PlayerInteractEvent.Action; import org.spout.api.event.player.PlayerJoinEvent; @@ -45,8 +43,6 @@ import org.spout.api.scheduler.TaskPriority; import java.util.Arrays; import java.util.List; -import java.util.regex.Matcher; -import java.util.regex.Pattern; /** * Handles all events thrown in relation to a Player @@ -59,8 +55,6 @@ public class WorldEditListener implements Listener { private boolean ignoreLeftClickAir = false; - private final static Pattern cuipattern = Pattern.compile("u00a74u00a75u00a73u00a74([^|]*)\\|?(.*)"); - /** * Construct the object; *