commit | 4fc9dd5a4a079a2a244d750481275f50902085f4 | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Wed Aug 11 17:09:40 2021 -0700 |
committer | Cole Faust <colefaust@google.com> | Wed Aug 11 17:09:40 2021 -0700 |
tree | c6b9628d365d037102350c2d7e075828b35eeb71 | |
parent | a74775e517042ba807d6ff049273c4f657d54a7a [diff] |
Use Option.ofNullable instead of Optional.of Optional.of expects a non-null value, and throws a NullPointerException if it gets null. This needs to be fixed to upgrade errorprone to v3.8.1. Bug: 190944875 Test: Presubmits Change-Id: Ib7dd4df9a435a99adb46e69bc048016690f3d25a