case 0: // isOwnContact\r
assert((bool instanceof Boolean));\r
\r
+ // Debug message\r
+ this.getLogger().debug(MessageFormat.format("bool={0}", bool));\r
+\r
// Is it own contact?\r
if (true == bool) {\r
+ // Debug message\r
+ this.getLogger().debug("Creating UserContact object ...");\r
+\r
// Own entry\r
contact = new UserContact();\r
} else {\r
+ // Debug message\r
+ this.getLogger().debug("Creating BookContact object ...");\r
+\r
// Other contact\r
contact = new BookContact();\r
}\r
// Increment counter for next round\r
count++;\r
}\r
+\r
+ // Is the contact read?\r
+ if (contact instanceof Contact) {\r
+ // Then add it\r
+ assert(list.add(contact));\r
+ }\r
}\r
\r
// Return finished list\r