From 93985f86c52cb80cd87ff15a4caddabc9e32ab46 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 16 Oct 2015 12:34:11 +0200 Subject: [PATCH] =?utf8?q?added=20missing=20language=20strings=20+=20used?= =?utf8?q?=20LinkedList=20for=20sorting=20Signed-off-by:Roland=20H=C3=A4de?= =?utf8?q?r=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../addressbook/beans/addressbook/AddressbookWebBean.java | 4 ++-- src/java/org/mxchange/localization/bundle_de_DE.properties | 1 + src/java/org/mxchange/localization/bundle_en_US.properties | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java index c5e0566a..3c7efb1f 100644 --- a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java +++ b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java @@ -17,10 +17,10 @@ package org.mxchange.addressbook.beans.addressbook; import java.text.MessageFormat; -import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.GregorianCalendar; +import java.util.LinkedList; import java.util.List; import java.util.Objects; import java.util.concurrent.ConcurrentHashMap; @@ -346,7 +346,7 @@ public class AddressbookWebBean implements AddressbookWebController { @PostConstruct public void init () { // Init list - this.usersAddressbooks = new ArrayList<>(0); + this.usersAddressbooks = new LinkedList<>(); // Is the user logged-in? if (this.loginController.isUserLoggedIn()) { diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 4c3211c9..4c45ebe1 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -237,3 +237,4 @@ LINK_USER_PROFILE_TITLE=Das Benutzerprofil in einem neuen Fenster aufrufen. LINK_LOGIN_START_SHARING_ADDRESSBOOKS_TITLE=Teilen Sie Ihre Adressb\u00fccher mit anderen Benutzern. Sie k\u00f6nnen den Schritt jederzeit zur\u00fccknehmen. ADDRESSBOOK_STATUS_UNLOCKED=Freigegeben ADDRESSBOOK_STATUS_LOCKED=Gesperrt +ADDRESSBOOK_STATUS_TITLE=Status des Adressbuches diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 576f6e85..dc1f4e42 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -237,3 +237,4 @@ LINK_USER_PROFILE_TITLE=Open the user profile in a new window. LINK_LOGIN_START_SHARING_ADDRESSBOOKS_TITLE=Start sharing your address books with other users. You can always revoke your decission. ADDRESSBOOK_STATUS_UNLOCKED=Unlocked ADDRESSBOOK_STATUS_LOCKED=Locked +ADDRESSBOOK_STATUS_TITLE=Status of the address book -- 2.39.5