saveourtool/diktat

Enhance NullChecksRule

Open

#822 opened on Apr 5, 2021

 (0 comments) (0 reactions) (1 assignee)Kotlin (40 forks)github user discovery
enhancementgood first issueneeded

Repository metrics

Stars
 (571 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

    grandParent != null && grandParent.elementType == VALUE_ARGUMENT_LIST

can be simplified:

    grandParent?.elementType == VALUE_ARGUMENT_LIST

Contributor guide