From 2628cf6edaaa402397c171ea3bfd9f55a660ec49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Tue, 1 Apr 2014 10:08:04 +0200 Subject: [PATCH] annot --- src/mightypork/utils/files/ion/AbstractIonList.java | 1 - src/mightypork/utils/files/ion/AbstractIonMap.java | 1 - src/mightypork/utils/objects/ObjectUtils.java | 1 - 3 files changed, 3 deletions(-) diff --git a/src/mightypork/utils/files/ion/AbstractIonList.java b/src/mightypork/utils/files/ion/AbstractIonList.java index b268737..c1149b1 100644 --- a/src/mightypork/utils/files/ion/AbstractIonList.java +++ b/src/mightypork/utils/files/ion/AbstractIonList.java @@ -23,7 +23,6 @@ public abstract class AbstractIonList extends ArrayList implements Ionizab byte b = StreamUtils.readByte(in); if (b == IonMarks.ENTRY) { - @SuppressWarnings("unchecked") T value = (T) Ion.readObject(in); add(value); } else if (b == IonMarks.END) { diff --git a/src/mightypork/utils/files/ion/AbstractIonMap.java b/src/mightypork/utils/files/ion/AbstractIonMap.java index 3904dbc..a775a63 100644 --- a/src/mightypork/utils/files/ion/AbstractIonMap.java +++ b/src/mightypork/utils/files/ion/AbstractIonMap.java @@ -38,7 +38,6 @@ public abstract class AbstractIonMap extends LinkedHashMap impleme if (b == IonMarks.ENTRY) { String key = StreamUtils.readStringBytes(in); - @SuppressWarnings("unchecked") V value = (V) Ion.readObject(in); put(key, value); diff --git a/src/mightypork/utils/objects/ObjectUtils.java b/src/mightypork/utils/objects/ObjectUtils.java index ab697d0..3518bb7 100644 --- a/src/mightypork/utils/objects/ObjectUtils.java +++ b/src/mightypork/utils/objects/ObjectUtils.java @@ -64,7 +64,6 @@ public class ObjectUtils { Collections.sort(entries, new Comparator>() { - @SuppressWarnings("unchecked") @Override public int compare(Entry o1, Entry o2) {