diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-12-01 12:33:57 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-12-01 12:33:57 +0100 |
commit | 9dd445a50750c3518fa94116f31c2b9e6184d55c (patch) | |
tree | ff9807967e863da73469ed3c2bfcdbd478b9ef3d /src/main/java/eu/siacs/conversations/ui | |
parent | 6a429d9939d57b95052ccdeaaf8964e2b7ea69ef (diff) |
fixed #728
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/adapter/KnownHostsAdapter.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/KnownHostsAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/KnownHostsAdapter.java index 143dfda12..0993735f1 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/KnownHostsAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/KnownHostsAdapter.java @@ -60,11 +60,8 @@ public class KnownHostsAdapter extends ArrayAdapter<String> { public KnownHostsAdapter(Context context, int viewResourceId, List<String> mKnownHosts) { - super(context, viewResourceId, mKnownHosts); - domains = new ArrayList<String>(mKnownHosts.size()); - for (String domain : mKnownHosts) { - domains.add(new String(domain)); - } + super(context, viewResourceId, new ArrayList<String>()); + domains = new ArrayList<String>(mKnownHosts); } @Override |