mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Rewrap some lines.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user