PatchSetUtil: Remove ReviewDb-specific logic
ReviewDb is gone. Change-Id: Ic02f41d87d5ebe02399dc4624faeb35f93cc2190 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -56,8 +56,7 @@ public class PublishCommentUtil {
|
||||
}
|
||||
|
||||
Map<Id, PatchSet> patchSets =
|
||||
psUtil.getAsMap(
|
||||
ctx.getDb(), notes, drafts.stream().map(d -> psId(notes, d)).collect(toSet()));
|
||||
psUtil.getAsMap(notes, drafts.stream().map(d -> psId(notes, d)).collect(toSet()));
|
||||
for (Comment d : drafts) {
|
||||
PatchSet ps = patchSets.get(psId(notes, d));
|
||||
if (ps == null) {
|
||||
|
||||
Reference in New Issue
Block a user