Menu

#423 New UnnecessaryNullSafeOperator rule

None
closed
None
5
2014-10-05
2013-07-14
Chris Mair
No

New UnnecessaryNullSafeOperator rule. Check null-safe operator (?.) applied to constants and literals, including null.

Also check for xxx.toString()?.xxx ? Or separate UnnecessaryNullSafeOperatorOnToString rule?

Discussion

  • Chris Mair

    Chris Mair - 2014-10-05
    • status: open --> closed
    • assigned_to: Chris Mair
    • Group: -->
     
  • Chris Mair

    Chris Mair - 2014-10-05

    Available in CodeNarc 0.22

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.