]> git.mxchange.org Git - jaddressbook-lib.git/commitdiff
Added trace messages
authorRoland Haeder <roland@mxchange.org>
Fri, 24 Jul 2015 10:56:04 +0000 (12:56 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 24 Jul 2015 10:56:04 +0000 (12:56 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java

index 9f17d0cd816a9022f5e52b9d2cd06931cfa8b6d0..038d370d7ac27cd328d8dc65528e1404bc60613e 100644 (file)
@@ -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;
     }