Errorpone considers an error to have arrays (mutable) inside records
(immutable) [1].
Suppress the warnings in these records, as they are overriding equals
and hash to do the right thing.
[1] https://errorprone.info/bugpattern/ArrayRecordComponent
Change-Id: I01c724516b1b14d512d366a35708436463fccffc
private static final Predicate<AllowedEntry> PLAIN_KEYS = Predicate
.not(CERTIFICATES);
+ @SuppressWarnings("ArrayRecordComponent")
static record AllowedEntry(String[] identities, boolean isCA,
String[] namespaces, Instant validAfter, Instant validBefore,
String key) {
* @param blob
* the array to wrap
*/
+ @SuppressWarnings("ArrayRecordComponent")
private static record Blob(byte[] blob) {
@Override