GetRelatedIT: Check more properties of related ChangeAndCommits

Change-Id: I1c2d2e0e70002a60c9f721b38561cd360ccfd807
This commit is contained in:
Dave Borowitz
2015-05-19 14:10:38 -07:00
parent d143ca3202
commit 31bdb3ab08
2 changed files with 115 additions and 92 deletions

View File

@@ -277,6 +277,9 @@ public class GetRelated implements RestReadView<RevisionResource> {
public Integer _revisionNumber;
public Integer _currentRevisionNumber;
public ChangeAndCommit() {
}
ChangeAndCommit(@Nullable Change change, @Nullable PatchSet ps, RevCommit c) {
if (change != null) {
changeId = change.getKey().get();