]> source.dussan.org Git - jgit.git/commit
[errorprone] ssh: suppress warning for arrays in records 80/1203980/2
authorIvan Frade <ifrade@google.com>
Tue, 12 Nov 2024 23:40:43 +0000 (15:40 -0800)
committerIvan Frade <ifrade@google.com>
Wed, 13 Nov 2024 17:10:37 +0000 (09:10 -0800)
commit4815db563bd106605b55c0e30d637150b02aa6b3
tree75ec11f1a505df0493ccbad70812a0e845802b5a
parentfbbd0c3e3e5a940deb18332b116ba869381c6f62
[errorprone] ssh: suppress warning for arrays in records

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
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/signing/ssh/AllowedSigners.java
org.eclipse.jgit.ssh.apache/src/org/eclipse/jgit/internal/signing/ssh/OpenSshBinaryKrl.java