commit | 127b69cdeefcdfcceeea2e5a6cae3ebedd1b7642 | [log] [tgz] |
---|---|---|
author | Michael Tughan <mtughan@gmail.com> | Tue Feb 11 12:05:29 2020 -0500 |
committer | Michael Tughan <mtughan@gmail.com> | Tue May 26 13:59:16 2020 -0400 |
tree | 963f3eaff2c830757a2765870ce1c496c5e3894e | |
parent | 2e11ace790b2b67da7e482544f4bf12eb79b2029 [diff] |
Check if approvals array is null before iterating When a CommentAddedEvent is received, the approvals supplier will return null for the ApprovalAttribute[] if no approvals were contained in the comment. Make sure to check if the array is null before iterating over it. Bug: Issue 12320 Change-Id: I624a186a1e17cbd02fe5eaa28cb60c594498e6b5