This commit is contained in:
@@ -38,7 +38,7 @@ public abstract class Factory<R extends Reader, W extends Writer> {
|
||||
//-----------------------------------------------------------------------------------
|
||||
private final HashedMap<Class, Creator> creators = new HashedMap();
|
||||
|
||||
private final Map<String, Class> entitys = new ConcurrentHashMap<>();
|
||||
private final Map<String, Class> entitys = new ConcurrentHashMap();
|
||||
|
||||
private final HashedMap<Type, Decodeable<R, ?>> decoders = new HashedMap();
|
||||
|
||||
@@ -46,7 +46,7 @@ public abstract class Factory<R extends Reader, W extends Writer> {
|
||||
|
||||
private final HashMap<AccessibleObject, ConvertColumnEntry> columnEntrys = new HashMap();
|
||||
|
||||
private final Set<Class> skipIgnores = new HashSet<>();
|
||||
private final Set<Class> skipIgnores = new HashSet();
|
||||
|
||||
private boolean skipAllIgnore = false;
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ public final class HashedMap<K, V> {
|
||||
}
|
||||
entry = entry.next;
|
||||
}
|
||||
data[index] = new Entry<>(key, value, data[index]);
|
||||
data[index] = new Entry(key, value, data[index]);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ public final class ObjectDecoder<R extends Reader, T> implements Decodeable<R, T
|
||||
final Type[] virGenericTypes = this.typeClass.getTypeParameters();
|
||||
final Type[] realGenericTypes = (type instanceof ParameterizedType) ? ((ParameterizedType) type).getActualTypeArguments() : TYPEZERO;
|
||||
this.creator = factory.loadCreator(clazz);
|
||||
final Set<DeMember> list = new HashSet<>();
|
||||
final Set<DeMember> list = new HashSet();
|
||||
try {
|
||||
ConvertColumnEntry ref;
|
||||
for (final Field field : clazz.getFields()) {
|
||||
|
||||
@@ -139,7 +139,7 @@ public final class ObjectEncoder<W extends Writer, T> implements Encodeable<W, T
|
||||
if (type == Object.class) return;
|
||||
//if (!(type instanceof Class)) throw new ConvertException("[" + type + "] is no a class");
|
||||
final Class clazz = this.typeClass;
|
||||
final Set<EnMember> list = new HashSet<>();
|
||||
final Set<EnMember> list = new HashSet();
|
||||
final Type[] virGenericTypes = this.typeClass.getTypeParameters();
|
||||
final Type[] realGenericTypes = (type instanceof ParameterizedType) ? ((ParameterizedType) type).getActualTypeArguments() : null;
|
||||
if (realGenericTypes != null) {
|
||||
|
||||
Reference in New Issue
Block a user