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:
parent
46f5030608
commit
c8d6a3dc85
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue