GetRelated: Fix incorrect alignment of if-block
Change-Id: I25f936c39c7d2b95a50d1b4efc748d7eb57afb25
This commit is contained in:
@@ -81,7 +81,8 @@ public class GetRelated implements RestReadView<RevisionResource> {
|
||||
.byProjectGroups(rsrc.getChange().getProject(), groups);
|
||||
if (cds.isEmpty()) {
|
||||
return Collections.emptyList();
|
||||
} if (cds.size() == 1
|
||||
}
|
||||
if (cds.size() == 1
|
||||
&& cds.get(0).getId().equals(rsrc.getChange().getId())) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user