Small improvement

pull/200/head
M66B 3 years ago
parent 8d4cfb2052
commit 1e2e6e60f7

@ -392,7 +392,7 @@ public class EntityRule {
case TYPE_IMPORTANCE:
return;
case TYPE_KEYWORD:
String keyword = jargs.getString("keyword");
String keyword = jargs.optString("keyword");
if (TextUtils.isEmpty(keyword))
throw new IllegalArgumentException(context.getString(R.string.title_rule_keyword_missing));
return;

Loading…
Cancel
Save