ChangeScreen2: Fix NPE in /related caused by wrong variable
Change-Id: Iff34707b77b6b579c8441f1826510ac1a56b09b3
This commit is contained in:
@@ -167,7 +167,7 @@ public class GetRelated implements RestReadView<RevisionResource> {
|
||||
for (PatchSet.Id psId : children.get(id)) {
|
||||
PatchSet.Id e = matches.get(psId.getParentKey());
|
||||
if ((e == null || e.get() < psId.get())
|
||||
&& isVisible(projectCtl, changes, patchSets, e)) {
|
||||
&& isVisible(projectCtl, changes, patchSets, psId)) {
|
||||
matches.put(psId.getParentKey(), psId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user