From 90b062a9d8a2dc9c2cffa0276225993a2cf594ef Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Thu, 8 Dec 2011 11:52:04 +0100 Subject: [PATCH] Fixed some warnings --- .../java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java | 1 - src/main/java/com/sk89q/worldedit/data/Chunk.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java index 10dc45fe3..a69fbdb05 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java @@ -21,7 +21,6 @@ package com.sk89q.worldedit.bukkit; import org.bukkit.Bukkit; import org.bukkit.block.Block; -import org.bukkit.entity.Player; import org.bukkit.event.Event; import org.bukkit.event.player.PlayerCommandPreprocessEvent; import org.bukkit.event.player.PlayerInteractEvent; diff --git a/src/main/java/com/sk89q/worldedit/data/Chunk.java b/src/main/java/com/sk89q/worldedit/data/Chunk.java index 90ee93cfc..37629de1a 100644 --- a/src/main/java/com/sk89q/worldedit/data/Chunk.java +++ b/src/main/java/com/sk89q/worldedit/data/Chunk.java @@ -224,6 +224,7 @@ public class Chunk { * @return child tag * @throws InvalidFormatException */ + @SuppressWarnings("unchecked") public static T getChildTag(Map items, String key, Class expected) throws InvalidFormatException { if (!items.containsKey(key)) {