]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Need to rename the method.
authorRoland Haeder <roland@mxchange.org>
Thu, 28 Apr 2016 18:10:13 +0000 (20:10 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 28 Apr 2016 18:10:13 +0000 (20:10 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java

index 8d3c805ccbc67559fcfd302319dc0bf91b7d21e4..569cea5e09b3a937aaab16eb8ebba44cb200ca47 100644 (file)
@@ -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;