From: Roland Haeder Date: Fri, 16 Oct 2015 10:34:11 +0000 (+0200) Subject: added missing language strings + used LinkedList for sorting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=93985f86c52cb80cd87ff15a4caddabc9e32ab46;p=jfinancials-war.git added missing language strings + used LinkedList for sorting Signed-off-by:Roland Häder --- 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