Skip to content

Files

Latest commit

 

History

History
14 lines (9 loc) · 353 Bytes

ImplicitClosureParameter.md

File metadata and controls

14 lines (9 loc) · 353 Bytes

Pattern: Use of implicit it closure parameter

Issue: -

Description

Checks for the implicit it closure parameter being used. Also checks if an explicit it parameter has been specified.

Example of violations:

    def closureWithViolation = { it * 10 }
    def closureWithViolationBecauseOfExplicitItParameter = { it -* it * 10}