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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user