Fixed some missing imports from recent refactoring.

This commit is contained in:
akwizgran
2015-12-16 12:50:17 +00:00
parent fb850eac09
commit e9226dc8e2
4 changed files with 11 additions and 9 deletions

View File

@@ -8,11 +8,11 @@ import java.security.GeneralSecurityException;
public interface MessageFactory {
Message createAnonymousMessage(MessageId parent, org.briarproject.api.sync.Group group,
Message createAnonymousMessage(MessageId parent, Group group,
String contentType, long timestamp, byte[] body) throws IOException,
GeneralSecurityException;
Message createPseudonymousMessage(MessageId parent, org.briarproject.api.sync.Group group,
Message createPseudonymousMessage(MessageId parent, Group group,
Author author, PrivateKey privateKey, String contentType,
long timestamp, byte[] body) throws IOException,
GeneralSecurityException;

View File

@@ -83,7 +83,8 @@ public class MessageHeader {
}
/**
* Returns message status. (This only applies to locally generated private messages.)
* Returns message status. (This only applies to locally generated private
* messages.)
*/
public State getStatus() {
return status;

View File

@@ -6,14 +6,14 @@ import org.briarproject.api.Author;
public class UnverifiedMessage {
private final MessageId parent;
private final org.briarproject.api.sync.Group group;
private final Group group;
private final Author author;
private final String contentType;
private final long timestamp;
private final byte[] raw, signature;
private final int bodyStart, bodyLength, signedLength;
public UnverifiedMessage(MessageId parent, org.briarproject.api.sync.Group group, Author author,
public UnverifiedMessage(MessageId parent, Group group, Author author,
String contentType, long timestamp, byte[] raw, byte[] signature,
int bodyStart, int bodyLength, int signedLength) {
this.parent = parent;
@@ -37,10 +37,10 @@ public class UnverifiedMessage {
}
/**
* Returns the {@link org.briarproject.api.sync.Group} to which the message belongs, or null if this
* Returns the {@link Group} to which the message belongs, or null if this
* is a private message.
*/
public org.briarproject.api.sync.Group getGroup() {
public Group getGroup() {
return group;
}