PatchLineCommentsUtil: Make getDraftRefs public

This is useful for plugins or other background workers that want to
directly view drafts in the All-Users repo.

Change-Id: I3eb4ac4de686db47fa0e8c22bfbbcd9244808b6e
This commit is contained in:
Dave Borowitz
2016-03-31 17:23:17 -04:00
parent 88c30edae4
commit d704863a37

View File

@@ -387,7 +387,7 @@ public class PatchLineCommentsUtil {
}
}
private Map<String, Ref> getDraftRefs(Change.Id changeId)
public Map<String, Ref> getDraftRefs(Change.Id changeId)
throws OrmException {
try (Repository repo = repoManager.openMetadataRepository(allUsers)) {
return getDraftRefs(repo, changeId);