1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-10 10:49:39 +02:00

Copy deprecation annotation

This commit is contained in:
Paul Schaub 2025-03-13 15:41:18 +01:00
parent d37fe077bc
commit 5b8c598d73
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -29,6 +29,7 @@ open class BaseSecretKeyRingProtector(
return passphraseProvider.hasPassphrase(keyIdentifier) return passphraseProvider.hasPassphrase(keyIdentifier)
} }
@Deprecated("Pass in a KeyIdentifier instead.")
override fun getDecryptor(keyId: Long): PBESecretKeyDecryptor? = override fun getDecryptor(keyId: Long): PBESecretKeyDecryptor? =
getDecryptor(KeyIdentifier(keyId)) getDecryptor(KeyIdentifier(keyId))