Update comments

This commit is contained in:
str4d
2016-05-28 00:13:36 +00:00
parent d3b83a50a6
commit 7ac7fae30e
2 changed files with 7 additions and 5 deletions

View File

@@ -354,7 +354,7 @@ public class ForumManagerTest {
author0.getId(), master, clock.currentTimeMillis(), true, author0.getId(), master, clock.currentTimeMillis(), true,
true true
); );
// invitee adds sharers back // invitee adds sharer back
contactId0 = contactManager1.addContact(author0, contactId0 = contactManager1.addContact(author0,
author1.getId(), master, clock.currentTimeMillis(), true, author1.getId(), master, clock.currentTimeMillis(), true,
true true

View File

@@ -329,7 +329,9 @@ interface Database<T> {
/** /**
* Returns the dependencies of the given message. * Returns the dependencies of the given message.
* This method makes sure that dependencies in different groups * This method makes sure that dependencies in different groups
* are returned as {@link ValidationManager.State.INVALID}. * are returned as {@link ValidationManager.State.INVALID}. Note that this
* is not set on the dependencies themselves; the returned states should
* only be taken in the context of the given message.
* <p/> * <p/>
* Read-only. * Read-only.
*/ */
@@ -468,14 +470,14 @@ interface Database<T> {
void lowerRequestedFlag(T txn, ContactId c, Collection<MessageId> requested) void lowerRequestedFlag(T txn, ContactId c, Collection<MessageId> requested)
throws DbException; throws DbException;
/* /**
* Merges the given metadata with the existing metadata for the given * Merges the given metadata with the existing metadata for the given
* group. * group.
*/ */
void mergeGroupMetadata(T txn, GroupId g, Metadata meta) void mergeGroupMetadata(T txn, GroupId g, Metadata meta)
throws DbException; throws DbException;
/* /**
* Merges the given metadata with the existing metadata for the given * Merges the given metadata with the existing metadata for the given
* message. * message.
*/ */
@@ -577,7 +579,7 @@ interface Database<T> {
void setMessageState(T txn, MessageId m, State state) void setMessageState(T txn, MessageId m, State state)
throws DbException; throws DbException;
/* /**
* Adds a dependency between two MessageIds * Adds a dependency between two MessageIds
*/ */
void addMessageDependency(T txn, MessageId dependentId, void addMessageDependency(T txn, MessageId dependentId,