[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[Android] Avoid multiple error. (#2915)
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen authored and lucky-chen committed Sep 18, 2019
1 parent 3337bc8 commit 4ce90b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ public void updateProperties(Map<String, Object> props) {
for (Map.Entry<String, Object> entry : props.entrySet()) {
Object key_obj = entry.getKey();
String key = WXUtils.getString(key_obj, null);
if (!(key_obj instanceof String)) {
if ((key != null) && !(key_obj instanceof String)) {
Map<String, String> map = new HashMap<>();
map.put("componentType", getComponentType());
map.put("actual key", key == null ? "" : key);
Expand Down

0 comments on commit 4ce90b0

Please sign in to comment.