From: Roland Haeder Date: Fri, 16 Oct 2015 10:13:54 +0000 (+0200) Subject: ignored for i18n X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e2dd90035003f19353671fcb3399fa96ac92414;p=addressbook-mailer-ejb.git ignored for i18n Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java b/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java index 2798d41..0bb0908 100644 --- a/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java +++ b/src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java @@ -85,28 +85,28 @@ public class AddressbookSessionBean extends BaseDatabaseBean implements Addressb } // Get named query for a user list without given user - Query allUsersExceptQuery = this.getEntityManager().createNamedQuery("SearchAllUsersExcept", List.class); + Query allUsersExceptQuery = this.getEntityManager().createNamedQuery("SearchAllUsersExcept", List.class); //NOI18N // Set parameter - allUsersExceptQuery.setParameter("user", user); + allUsersExceptQuery.setParameter("user", user); //NOI18N // Get full list List allUsersExcept = allUsersExceptQuery.getResultList(); // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: allUsersExcept.size()={0}", allUsersExcept.size())); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: allUsersExcept.size()={0}", allUsersExcept.size())); //NOI18N // Now get all users this user is sharing with, first a new query - Query allShareesQuery = this.getEntityManager().createNamedQuery("SearchUserSharedAddressbooks", List.class); + Query allShareesQuery = this.getEntityManager().createNamedQuery("SearchUserSharedAddressbooks", List.class); //NOI18N // Set parameter - allShareesQuery.setParameter("user", user); + allShareesQuery.setParameter("user", user); //NOI18N // Get full list again List allSharees = allShareesQuery.getResultList(); // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: allSharees.size()={0}", allSharees.size())); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: allSharees.size()={0}", allSharees.size())); //NOI18N // Init final user list List userList = new ArrayList<>(0); @@ -114,13 +114,13 @@ public class AddressbookSessionBean extends BaseDatabaseBean implements Addressb // Walk through all users for (final User u : allUsersExcept) { // Log message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: u={0}", u)); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: u={0}", u)); //NOI18N // Is this user not included? if (!allSharees.contains(u)) { // Found one to add! // Log message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: u={0} - ADDING!", u)); + this.getLoggerBeanLocal().logDebug(MessageFormat.format("allUsersNotSharing: u={0} - ADDING!", u)); //NOI18N // Add it userList.add(u); @@ -128,7 +128,7 @@ public class AddressbookSessionBean extends BaseDatabaseBean implements Addressb } // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("allUsersNotSharing: userList.size()={0} - EXIT!", userList.size())); + this.getLoggerBeanLocal().logTrace(MessageFormat.format("allUsersNotSharing: userList.size()={0} - EXIT!", userList.size())); //NOI18N // Return it return userList;