Merge "Use JSON for encoding PatchLineComment data."

This commit is contained in:
Edwin Kempin
2016-09-19 09:31:11 +00:00
committed by Gerrit Code Review
13 changed files with 433 additions and 133 deletions

View File

@@ -141,7 +141,7 @@ public class DraftCommentNotes extends AbstractChangeNotes<DraftCommentNotes> {
ObjectReader reader = handle.walk().getObjectReader();
revisionNoteMap = RevisionNoteMap.parse(
args.noteUtil, getChangeId(), reader, NoteMap.read(reader, tipCommit),
true);
PatchLineComment.Status.DRAFT);
Multimap<RevId, PatchLineComment> cs = ArrayListMultimap.create();
for (RevisionNote rn : revisionNoteMap.revisionNotes.values()) {
for (PatchLineComment c : rn.comments) {