From 9f7cf72c7106f5aa3ed2838e241582feca924972 Mon Sep 17 00:00:00 2001 From: troyzhxu <1573555987@qq.com> Date: Thu, 8 Dec 2022 12:04:59 +0800 Subject: [PATCH] fix: spi of xml and yaml --- xjsonkit-api/src/main/java/cn/zhxu/xjson/spi/Config.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xjsonkit-api/src/main/java/cn/zhxu/xjson/spi/Config.java b/xjsonkit-api/src/main/java/cn/zhxu/xjson/spi/Config.java index 332992e..0dc9b64 100644 --- a/xjsonkit-api/src/main/java/cn/zhxu/xjson/spi/Config.java +++ b/xjsonkit-api/src/main/java/cn/zhxu/xjson/spi/Config.java @@ -41,14 +41,14 @@ public static DataConvertor jsonb() { public static DataConvertor xml() { if (xml == null) { - xml = JsonbFactory.find(); + xml = XmlFactory.find(); } return xml; } public static DataConvertor yaml() { if (yaml == null) { - yaml = JsonbFactory.find(); + yaml = YamlFactory.find(); } return yaml; }