diff options
author | Lara Scheidegger <lararennie@google.com> | 2014-10-22 15:29:32 +0200 |
---|---|---|
committer | Lara Scheidegger <lararennie@google.com> | 2014-10-22 15:29:32 +0200 |
commit | 9d2df21c48b5d57433a91de9cb6447cce307dd69 (patch) | |
tree | 7edc6bb167b9c4ebae95a2776897862306792d6a | |
parent | 1df34da8a373f650d387331788668d195008cde8 (diff) | |
download | src-9d2df21c48b5d57433a91de9cb6447cce307dd69.tar.gz |
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("~"); } |