v5stable
Ondřej Hruška 11 years ago
parent ca0cd329cf
commit 2628cf6eda
  1. 1
      src/mightypork/utils/files/ion/AbstractIonList.java
  2. 1
      src/mightypork/utils/files/ion/AbstractIonMap.java
  3. 1
      src/mightypork/utils/objects/ObjectUtils.java

@ -23,7 +23,6 @@ public abstract class AbstractIonList<T> extends ArrayList<T> implements Ionizab
byte b = StreamUtils.readByte(in); byte b = StreamUtils.readByte(in);
if (b == IonMarks.ENTRY) { if (b == IonMarks.ENTRY) {
@SuppressWarnings("unchecked")
T value = (T) Ion.readObject(in); T value = (T) Ion.readObject(in);
add(value); add(value);
} else if (b == IonMarks.END) { } else if (b == IonMarks.END) {

@ -38,7 +38,6 @@ public abstract class AbstractIonMap<V> extends LinkedHashMap<String, V> impleme
if (b == IonMarks.ENTRY) { if (b == IonMarks.ENTRY) {
String key = StreamUtils.readStringBytes(in); String key = StreamUtils.readStringBytes(in);
@SuppressWarnings("unchecked")
V value = (V) Ion.readObject(in); V value = (V) Ion.readObject(in);
put(key, value); put(key, value);

@ -64,7 +64,6 @@ public class ObjectUtils {
Collections.sort(entries, new Comparator<Map.Entry<K, V>>() { Collections.sort(entries, new Comparator<Map.Entry<K, V>>() {
@SuppressWarnings("unchecked")
@Override @Override
public int compare(Entry<K, V> o1, Entry<K, V> o2) public int compare(Entry<K, V> o1, Entry<K, V> o2)
{ {

Loading…
Cancel
Save