修复Convert中泛型与非泛型类型并存的问题
This commit is contained in:
@@ -582,7 +582,7 @@ public abstract class ConvertFactory<R extends Reader, W extends Writer> {
|
|||||||
} else {
|
} else {
|
||||||
throw new ConvertException("not support the type (" + type + ")");
|
throw new ConvertException("not support the type (" + type + ")");
|
||||||
}
|
}
|
||||||
//此处不能再findEncoder,否则type与class不一致, 如: RetResult 和 RetResult<Integer>
|
//此处不能再findEncoder,否则type与class不一致, 如: RetResult 和 RetResult<Integer>
|
||||||
return createEncoder(type, clazz);
|
return createEncoder(type, clazz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user