diff options
| author | 2025-01-06 10:59:21 -0800 | |
|---|---|---|
| committer | 2025-01-06 11:24:17 -0800 | |
| commit | 6b81c5d22a79ced46f1d2168cd035179bb84cc13 (patch) | |
| tree | 8e49449b785fa187d53f17eb4c3deeb89658a0b0 /PermissionController/role-controller/java | |
| parent | 99dff88a3cd21ca68bd0d250c9a965ee2fd7dc91 (diff) | |
Move to Kotlin requireNotNull() from Preconditions.checkNotNull()
Replace last usage of Preconditions.checkNotNull() in Permission code.
We are in Kotlin so the Kotlin way can be preferred.
Somehow the JSpecify @NonNull from Preconditions.checkNotNull()
isn't being recognized as non-null by the Kotlin compiler used for
the code here and that's blocking AndroidX prebuilt drop, so let's
get out of the way for that first, while improving our code a tiny
bit.
Bug: 385912424
Flag: EXEMPT bugfix
Relnote: N/A
Test: build
Merged-In: I42504a24a8544b56dbbbf5e0cd707355304717de
Merged-In: Ie7a14d7d4ea5384d8ffc427bd6e9a65f8e6071b2
Change-Id: Ie7a14d7d4ea5384d8ffc427bd6e9a65f8e6071b2
Diffstat (limited to 'PermissionController/role-controller/java')
0 files changed, 0 insertions, 0 deletions