Move ReviewInput.Comment to abstract class Comment
This class is used in both CommentInfo and ReviewInput.CommentInput. Change-Id: I933ec829488d777a11b84aa57108415568950f58
This commit is contained in:
@@ -718,11 +718,11 @@ public abstract class AbstractQueryChangesTest {
|
||||
|
||||
ReviewInput input = new ReviewInput();
|
||||
input.message = "toplevel";
|
||||
ReviewInput.Comment comment = new ReviewInput.Comment();
|
||||
ReviewInput.CommentInput comment = new ReviewInput.CommentInput();
|
||||
comment.line = 1;
|
||||
comment.message = "inline";
|
||||
input.comments = ImmutableMap.<String, List<ReviewInput.Comment>> of(
|
||||
Patch.COMMIT_MSG, ImmutableList.<ReviewInput.Comment> of(comment));
|
||||
input.comments = ImmutableMap.<String, List<ReviewInput.CommentInput>> of(
|
||||
Patch.COMMIT_MSG, ImmutableList.<ReviewInput.CommentInput> of(comment));
|
||||
postReview.apply(new RevisionResource(
|
||||
changes.parse(change.getId()), ins.getPatchSet()), input);
|
||||
|
||||
|
Reference in New Issue
Block a user