From 081c20716243edec5720f9a65ae09cadcbcbe11e Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 16 Oct 2015 12:34:27 +0200 Subject: [PATCH] =?utf8?q?used=20LinkedList=20for=20sorting=20Signed-off-b?= =?utf8?q?y:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../addressbook/model/addressbook/AddressbookSessionBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java b/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java index 0bb0908..1888db0 100644 --- a/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java +++ b/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java @@ -17,7 +17,7 @@ package org.mxchange.addressbook.model.addressbook; import java.text.MessageFormat; -import java.util.ArrayList; +import java.util.LinkedList; import java.util.List; import javax.ejb.Stateless; import javax.persistence.NoResultException; @@ -109,7 +109,7 @@ public class AddressbookSessionBean extends BaseDatabaseBean implements Addressb this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: allSharees.size()={0}", allSharees.size())); //NOI18N // Init final user list - List userList = new ArrayList<>(0); + List userList = new LinkedList<>(); // Walk through all users for (final User u : allUsersExcept) { -- 2.39.5