1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-25 04:17:59 +01:00

Make WebOfTrust.LOGGER static

This commit is contained in:
Paul Schaub 2023-07-03 15:02:43 +02:00
parent 72b68ad7e9
commit d2c768ab86
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -134,7 +134,10 @@ class WebOfTrust(private val certificateStore: PGPCertificateStore) {
private val policy: Policy, private val policy: Policy,
private val referenceTime: ReferenceTime) { private val referenceTime: ReferenceTime) {
private val LOGGER = LoggerFactory.getLogger(NetworkBuilder::class.java) companion object {
@JvmStatic
private val LOGGER = LoggerFactory.getLogger(NetworkBuilder::class.java)
}
// certificates keyed by fingerprint // certificates keyed by fingerprint
private val byFingerprint: MutableMap<Fingerprint, KeyRingInfo> = HashMap() private val byFingerprint: MutableMap<Fingerprint, KeyRingInfo> = HashMap()