ChangeJson#getApprovalInfo: Add @Nullable annotations

The permittedVotingRange and tag parameters may be null, so
annotate them with @Nullable.

Change-Id: I6698ca34f512c783fbf319f63222804e6aec2586
This commit is contained in:
David Pursehouse 2019-02-04 17:54:16 +09:00
parent aa9acce3e7
commit ab890eceee
1 changed files with 2 additions and 2 deletions

View File

@ -994,8 +994,8 @@ public class ChangeJson {
public static ApprovalInfo getApprovalInfo(
Account.Id id,
Integer value,
VotingRangeInfo permittedVotingRange,
String tag,
@Nullable VotingRangeInfo permittedVotingRange,
@Nullable String tag,
Timestamp date) {
ApprovalInfo ai = new ApprovalInfo(id.get());
ai.value = value;