提交 ade6f3e5 编写于 作者: S serge-rider

NPE fix


Former-commit-id: 4e5f812a
上级 95a8126d
......@@ -526,6 +526,9 @@ public class CommonUtils {
}
public static boolean getOption(Map<String, ?> options, String name, boolean defValue) {
if (options == null) {
return false;
}
Object optionValue = options.get(name);
if (optionValue == null) {
return defValue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册