]> git.mxchange.org Git - addressbook-war.git/commitdiff
added missing language strings + used LinkedList for sorting
authorRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 10:34:11 +0000 (12:34 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 10:34:11 +0000 (12:34 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebBean.java
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties

index c5e0566ac8ba4e1bf6f517abbfa45c2acb8fe873..3c7efb1f42eaf3b54594f00693ba91787d63c459 100644 (file)
 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()) {
index 4c3211c994bf702f52dcf07edd0e707e01a423dd..4c45ebe1e5f7210b631855789e27a7c7032ba524 100644 (file)
@@ -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
index 576f6e85baa21f206f3400ba241b315eef58a0ce..dc1f4e42b9a15c705555cd43949a4de3008895d4 100644 (file)
@@ -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