annot
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user