This commit is contained in:
kamhung
2015-11-27 16:46:26 +08:00
parent fd06646e1d
commit a649a2fc73
4 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;
}

View File

@@ -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()) {

View File

@@ -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) {