Change Some(...) to Option(...) which is the appropriate way to instantiate an optional since Some( some_that_might_be_null ) could end up being Some(null) instead of the correct None
Related
11 : This - now closed - issue could be tracked back to using Some to instantiate an optional as well
Proposed Changes
Some(...)
toOption(...)
which is the appropriate way to instantiate an optional sinceSome( some_that_might_be_null )
could end up beingSome(null)
instead of the correctNone
Related
11 : This - now closed - issue could be tracked back to using
Some
to instantiate an optional as well