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:
parent
aa9acce3e7
commit
ab890eceee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user