Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress Boolean.hashCode warning
Browse files Browse the repository at this point in the history
squarejesse committed Dec 17, 2023
1 parent 0d23e7b commit 2ae45b6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ import java.security.cert.CertificateFactory
import java.security.cert.X509Certificate
import okio.Buffer
import okio.ByteString
import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

internal data class Certificate(
val tbsCertificate: TbsCertificate,
@@ -162,12 +163,14 @@ internal data class SubjectPublicKeyInfo(
val subjectPublicKey: BitString
)

@IgnoreJRERequirement // As of AGP 3.4.1, D8 desugars API 24 hashCode methods.
internal data class Extension(
val id: String,
val critical: Boolean,
val value: Any?
)

@IgnoreJRERequirement // As of AGP 3.4.1, D8 desugars API 24 hashCode methods.
internal data class BasicConstraints(
/** True if this certificate can be used as a Certificate Authority (CA). */
val ca: Boolean,

0 comments on commit 2ae45b6

Please sign in to comment.