Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • New Groovy Refactoring: extract conditional to closure
    Code Block
    if (a & b) {...}
    
    becomes
    Code Block
    booleanClosure cond = { a & b }
    if (cond()) {...}
    
  • New Groovy Refactoring: extract local closure
    Code Block
    statement*
    
    becomes
    Code Block
    Closure localvar = { statements* }
    localvar()
    

...