PatchSetApproval: Convert getTag to return Optional
Change-Id: Ifaa21dcc8b8a826a7f59df19d04dc9a737a1ff0d
This commit is contained in:
@@ -599,7 +599,7 @@ class RevisionApiImpl implements RevisionApi {
|
||||
approval.getAccountId().get(),
|
||||
Integer.valueOf(approval.getValue()),
|
||||
null,
|
||||
approval.getTag(),
|
||||
approval.getTag().orElse(null),
|
||||
approval.getGranted());
|
||||
accountLoader.put(info);
|
||||
result.get(label).add(info);
|
||||
|
||||
Reference in New Issue
Block a user