diff options
author | dlyongemallo <dlyongemallo@users.noreply.github.com> | 2014-10-22 15:44:03 +0200 |
---|---|---|
committer | dlyongemallo <dlyongemallo@users.noreply.github.com> | 2014-10-22 15:44:03 +0200 |
commit | 1548a16dda24f9f3fe5253314569ed346889f12c (patch) | |
tree | 7edc6bb167b9c4ebae95a2776897862306792d6a | |
parent | 1df34da8a373f650d387331788668d195008cde8 (diff) | |
parent | 9d2df21c48b5d57433a91de9cb6447cce307dd69 (diff) | |
download | src-1548a16dda24f9f3fe5253314569ed346889f12c.tar.gz |
Merge pull request #32 from lararennie/label_fixes
Removing unnecessary two-step assignation of mores in ClientData.java
-rw-r--r-- | java/src/com/android/i18n/addressinput/ClientData.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/i18n/addressinput/ClientData.java b/java/src/com/android/i18n/addressinput/ClientData.java index 72be34f..f0b2fc0 100644 --- a/java/src/com/android/i18n/addressinput/ClientData.java +++ b/java/src/com/android/i18n/addressinput/ClientData.java @@ -264,11 +264,9 @@ public class ClientData implements DataSource { if (map.containsKey(subMores)) { // This key could have sub keys. - String[] mores = {}; + String[] mores = map.get(subMores).split("~"); String[] keys = {}; - mores = map.get(subMores).split("~"); - if (map.containsKey(subKeys)) { keys = map.get(subKeys).split("~"); } |