Fixed some warnings

This commit is contained in:
TomyLobo
2011-12-08 11:52:04 +01:00
parent d0367bfd5c
commit 90b062a9d8
2 changed files with 1 additions and 1 deletions

View File

@ -224,6 +224,7 @@ public class Chunk {
* @return child tag
* @throws InvalidFormatException
*/
@SuppressWarnings("unchecked")
public static <T extends Tag> T getChildTag(Map<String,Tag> items, String key,
Class<T> expected) throws InvalidFormatException {
if (!items.containsKey(key)) {