From 9dd445a50750c3518fa94116f31c2b9e6184d55c Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Mon, 1 Dec 2014 12:33:57 +0100 Subject: [PATCH] fixed #728 --- .../siacs/conversations/ui/adapter/KnownHostsAdapter.java | 7 ++----- 1 file 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 { public KnownHostsAdapter(Context context, int viewResourceId, List mKnownHosts) { - super(context, viewResourceId, mKnownHosts); - domains = new ArrayList(mKnownHosts.size()); - for (String domain : mKnownHosts) { - domains.add(new String(domain)); - } + super(context, viewResourceId, new ArrayList()); + domains = new ArrayList(mKnownHosts); } @Override