mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-05 11:51:09 +01:00
Change from elvis operator to equality comparator
This commit is contained in:
parent
0cffe84727
commit
030dbfbf4f
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class PGPObjectFactoryFuzzingTest {
|
||||||
} catch (e: UnsupportedPacketVersionException) {
|
} catch (e: UnsupportedPacketVersionException) {
|
||||||
return
|
return
|
||||||
} catch (e: ClassCastException) {
|
} catch (e: ClassCastException) {
|
||||||
if (e.message?.contains("SecretSubkeyPacket") ?: true) {
|
if (e.message?.contains("SecretSubkeyPacket") != false) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
throw e
|
throw e
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue