This commit is contained in:
Redkale
2020-09-15 23:41:17 +08:00
parent 7ab889baac
commit ebf30e488a

View File

@@ -195,6 +195,7 @@ public abstract class ConvertFactory<R extends Reader, W extends Writer> {
}
public static Convert findConvert(ConvertType type) {
if (type == null) return null;
if (type == ConvertType.JSON) return JsonConvert.root();
if (type == ConvertType.BSON) return BsonConvert.root();
if (loaderInited.get()) {