From: Roland Haeder Date: Thu, 28 Apr 2016 18:10:13 +0000 (+0200) Subject: Need to rename the method. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;h=d27f748834286e40b47aded701282e51b35cfaee;p=pizzaservice-ejb.git Need to rename the method. Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java b/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java index 8d3c805..569cea5 100644 --- a/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java +++ b/src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java @@ -163,7 +163,7 @@ public class PizzaContactSessionBean extends BasePizzaDatabaseBean implements Co @Override public Contact lookupContact (final Contact contact) { // Log trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("isContactFound: contact={0} - CALLED!", contact)); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("lookupContact: contact={0} - CALLED!", contact)); //NOI18N // Parameter should be valid if (null == contact) { @@ -188,7 +188,7 @@ public class PizzaContactSessionBean extends BasePizzaDatabaseBean implements Co // Is the list empty? if (contacts.isEmpty()) { // Then abort here - this.getLoggerBeanLocal().logTrace("isContactFound: No contacts registered, returning 'false' ..."); //NOI18N + this.getLoggerBeanLocal().logTrace("lookupContact: No contacts registered, returning 'false' ..."); //NOI18N return null; } @@ -201,12 +201,12 @@ public class PizzaContactSessionBean extends BasePizzaDatabaseBean implements Co Contact next = iterator.next(); // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("isContactFound: next={0}", next)); //NOI18N + this.getLoggerBeanLocal().logDebug(MessageFormat.format("lookupContact: next={0}", next)); //NOI18N // Is same contact? if ((Objects.equals(contact, next)) || (ContactUtils.isSameContact(contact, next))) { // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("isContactFound: Found same contact, id={0}", next.getContactId())); //NOI18N + this.getLoggerBeanLocal().logDebug(MessageFormat.format("lookupContact: Found same contact, id={0}", next.getContactId())); //NOI18N // Found it foundContact = next; @@ -215,7 +215,7 @@ public class PizzaContactSessionBean extends BasePizzaDatabaseBean implements Co } // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("isContactFound: foundContact={0} - EXIT!", foundContact)); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("lookupContact: foundContact={0} - EXIT!", foundContact)); //NOI18N // Return status return foundContact;