From: Roland Haeder Date: Fri, 24 Jul 2015 10:56:04 +0000 (+0200) Subject: Added trace messages X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2ad04803a6ef72f2ab29e655647b08a410e3bb58;p=jaddressbook-lib.git Added trace messages Signed-off-by:Roland Häder --- diff --git a/Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java b/Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java index 9f17d0cd..038d370d 100644 --- a/Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java +++ b/Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java @@ -426,6 +426,9 @@ public class ContactManager extends BaseManager implements ManageableContact { */ @Override public boolean isOwnContactAdded () { + // Trace message + this.getLogger().trace("CALLED!"); + assert(this.contacts instanceof List) : "this.contacts is not initialized"; // Default is not added @@ -451,6 +454,10 @@ public class ContactManager extends BaseManager implements ManageableContact { } } } + + // Trace message + this.getLogger().trace(MessageFormat.format("isAdded={0} : EXIT!", isAdded)); + // Return result return isAdded; }