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

Change from elvis operator to equality comparator

This commit is contained in:
Paul Schaub 2025-07-24 11:29:36 +02:00
parent 46f5030608
commit c8d6a3dc85
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -41,7 +41,7 @@ class PGPObjectFactoryFuzzingTest {
} catch (e: UnsupportedPacketVersionException) {
return
} catch (e: ClassCastException) {
if (e.message?.contains("SecretSubkeyPacket") ?: true) {
if (e.message?.contains("SecretSubkeyPacket") != false) {
return
}
throw e