mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 10:49:39 +02:00
Change from elvis operator to equality comparator
This commit is contained in:
parent
5fd0984c45
commit
963c2fc4b1
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