- System.out.println(" - Organisation: " +
- (contact.getOrganization().isPresent() ? contact.getOrganization().get() : "-"));
+ System.out.println(" - Organisation: " + (
+ contact.getOrganization().isPresent() ? contact.getOrganization().get() : "-"
+ ));
- * @param mention is the Signal mention to print
- * @param m is the Manager. used to resolve UUIDs into phone numbers if possible
+ * @param mention is the Signal mention to print
+ * @param m is the Manager. used to resolve UUIDs into phone numbers if possible
* @param leadingSpaces is the number of spaces you want the message to be indented by
*/
private void printMention(SignalServiceDataMessage.Mention mention, Manager m, int leadingSpaces) {
String spaces = " ".repeat(leadingSpaces);
* @param leadingSpaces is the number of spaces you want the message to be indented by
*/
private void printMention(SignalServiceDataMessage.Mention mention, Manager m, int leadingSpaces) {
String spaces = " ".repeat(leadingSpaces);
- System.out.println(spaces + "- " + m.resolveSignalServiceAddress(new SignalServiceAddress(mention.getUuid(), null))
- .getLegacyIdentifier() + ": " + mention.getStart() + " (length: " + mention.getLength() + ")");
+ System.out.println(spaces + "- " + m.resolveSignalServiceAddress(new SignalServiceAddress(mention.getUuid(),
+ null)).getLegacyIdentifier() + ": " + mention.getStart() + " (length: " + mention.getLength() + ")");
* @param leadingSpaces is the number of spaces you want the message to be indented by
*/
private void printAttachment(SignalServiceAttachment attachment, int leadingSpaces) {
String spaces = " ".repeat(leadingSpaces);
* @param leadingSpaces is the number of spaces you want the message to be indented by
*/
private void printAttachment(SignalServiceAttachment attachment, int leadingSpaces) {
String spaces = " ".repeat(leadingSpaces);