From 2ad04803a6ef72f2ab29e655647b08a410e3bb58 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 24 Jul 2015 12:56:04 +0200 Subject: [PATCH] =?utf8?q?Added=20trace=20messages=20Signed-off-by:Roland?= =?utf8?q?=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../addressbook/manager/contact/ContactManager.java | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.39.5