// Debug message
this.getLogger().debug(MessageFormat.format("lines={0}", lines));
- // Instance list
+ // Instance list
// @TODO The maximum length could be guessed from file size?
List<Contact> list = new ArrayList<>(lines);
// UTF-8 writer characters found
token = token.substring(2);
}
-
+
// Debug message
this.getLogger().debug(MessageFormat.format("token={0}", token));
}
// The contact instance should be there now
- assert(contact instanceof Contact) : "contact is not set: " + contact;
+ assert (contact instanceof Contact) : "contact is not set: " + contact;
// Add contact
this.addContactToList(contact, list);
String input = null;
try {
+ // Read single line
String base64 = this.getStorageFile().readLine();
// Decode BASE-64