Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfs committed Dec 1, 2017
1 parent afc3a3d commit 42b3f80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1491,8 +1491,8 @@ interface Contact extends PropertyColumns
/**
* Relations of a task.
* <p>
* When writing a relation, exactly one of {@link #RELATED_ID} or {@link #RELATED_UID}. {@link #RELATED_CONTENT_URI} will be
* populated automatically if possible.
* When writing a relation, exactly one of {@link #RELATED_ID} or {@link #RELATED_UID} must be present. The missing value and {@link
* #RELATED_CONTENT_URI} will be populated automatically if possible.
*/
interface Relation extends PropertyColumns
{
Expand All @@ -1511,7 +1511,7 @@ interface Relation extends PropertyColumns
String RELATED_ID = DATA1;

/**
* The relation type. This must be the one of the {@code RELTYPE_*} values.
* The relation type. This must be one of the {@code RELTYPE_*} values.
* <p>
* Value: int
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
public final class RelationData extends DelegatingRowData<TaskContract.Properties>
{
public RelationData(@NonNull RowSnapshot<TaskContract.Tasks> relatingTask,
@NonNull int relType,
int relType,
@NonNull RowSnapshot<TaskContract.Tasks> relatedTask)
{
super(new Composite<>(
Expand All @@ -47,7 +47,7 @@ public RelationData(@NonNull RowSnapshot<TaskContract.Tasks> relatingTask,


public RelationData(@NonNull RowSnapshot<TaskContract.Tasks> relatingTask,
@NonNull int relType,
int relType,
@NonNull CharSequence relatedTaskUid)
{
super(new Composite<>(
Expand Down

0 comments on commit 42b3f80

Please sign in to comment.