提交 893bd91a 编写于 作者: 如梦技术's avatar 如梦技术 🐛

代码优化

上级 ae0b2182
......@@ -521,7 +521,7 @@ public class JsonUtil {
* @return 集合
*/
public static <K, V> Map<K, V> readMap(@Nullable InputStream content, Class<?> keyClass, Class<?> valueClass) {
if (ObjectUtil.isEmpty(content)) {
if (content == null) {
return Collections.emptyMap();
}
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册