saveourtool/diktat

Enhance NullChecksRule

Open

#822 opened on Apr 5, 2021

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

Repository metrics

Stars
 (571 stars)
PR merge metrics
 (PR metrics pending)

Description

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

can be simplified:

    grandParent?.elementType == VALUE_ARGUMENT_LIST

Contributor guide