Closed
Description
Expected Behavior
detekt should not complain about this code:
val version = UUID.randomUUID()!!
using !! here is a totally valid way to force kotlin to make version a non null type, and it's less verbose than specifying the type explicitly. It's also an autofix that IDEA suggests
Current Behavior
val version = UUID.randomUUID()!!
is reported as UnsafeCallOnNullableType
Your Environment
I use detekt via codacy.