Rewrap some lines.

This commit is contained in:
akwizgran
2021-11-04 15:49:44 +00:00
parent f4d885b647
commit 3a13adcffb
13 changed files with 59 additions and 51 deletions

View File

@@ -1,11 +1,11 @@
package org.briarproject.briar.api.blog;
import org.briarproject.bramble.api.identity.Author;
import org.briarproject.briar.api.identity.AuthorInfo;
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
import org.briarproject.bramble.api.sync.GroupId;
import org.briarproject.bramble.api.sync.MessageId;
import org.briarproject.briar.api.client.PostHeader;
import org.briarproject.briar.api.identity.AuthorInfo;
import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
@@ -21,7 +21,8 @@ public class BlogPostHeader extends PostHeader {
public BlogPostHeader(MessageType type, GroupId groupId, MessageId id,
@Nullable MessageId parentId, long timestamp, long timeReceived,
Author author, AuthorInfo authorInfo, boolean rssFeed, boolean read) {
Author author, AuthorInfo authorInfo, boolean rssFeed,
boolean read) {
super(id, parentId, timestamp, author, authorInfo, read);
this.type = type;
this.groupId = groupId;

View File

@@ -1,10 +1,10 @@
package org.briarproject.briar.api.client;
import org.briarproject.bramble.api.identity.Author;
import org.briarproject.briar.api.identity.AuthorInfo;
import org.briarproject.briar.api.identity.AuthorInfo.Status;
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
import org.briarproject.bramble.api.sync.MessageId;
import org.briarproject.briar.api.identity.AuthorInfo;
import org.briarproject.briar.api.identity.AuthorInfo.Status;
import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
@@ -22,7 +22,8 @@ public abstract class PostHeader {
private final boolean read;
public PostHeader(MessageId id, @Nullable MessageId parentId,
long timestamp, Author author, AuthorInfo authorInfo, boolean read) {
long timestamp, Author author, AuthorInfo authorInfo,
boolean read) {
this.id = id;
this.parentId = parentId;
this.timestamp = timestamp;

View File

@@ -13,8 +13,8 @@ import javax.annotation.concurrent.Immutable;
public class ForumInvitationRequestReceivedEvent extends
ConversationMessageReceivedEvent<ConversationRequest<Forum>> {
public ForumInvitationRequestReceivedEvent(ConversationRequest<Forum> request,
ContactId contactId) {
public ForumInvitationRequestReceivedEvent(
ConversationRequest<Forum> request, ContactId contactId) {
super(request, contactId);
}

View File

@@ -51,8 +51,8 @@ public class PrivateMessage {
/**
* Constructor for private messages in the
* {@link PrivateMessageFormat#TEXT_IMAGES_AUTO_DELETE TEXT_IMAGES_AUTO_DELETE}
* format.
* {@link PrivateMessageFormat#TEXT_IMAGES_AUTO_DELETE
* TEXT_IMAGES_AUTO_DELETE} format.
*/
public PrivateMessage(Message message, boolean hasText,
List<AttachmentHeader> headers, long autoDeleteTimer) {

View File

@@ -30,9 +30,9 @@ public interface PrivateMessageFactory {
/**
* Creates a private message in the
* {@link PrivateMessageFormat#TEXT_IMAGES_AUTO_DELETE TEXT_IMAGES_AUTO_DELETE}
* format. This format requires the contact to support client version 0.3
* or higher.
* {@link PrivateMessageFormat#TEXT_IMAGES_AUTO_DELETE
* TEXT_IMAGES_AUTO_DELETE} format. This format requires the contact to
* support client version 0.3 or higher.
*/
PrivateMessage createPrivateMessage(GroupId groupId, long timestamp,
@Nullable String text, List<AttachmentHeader> headers,