Versions Compared

Key

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

...

Code Block
do{ i++; return c }if(
   ( severance.taxAmount >= TaxYear2006.taxAmounts.severanceLimit['dependent'] ||
         ... ... ...
         ... ... ...
)

is transformed to:

...

When a long list of methods and/or fields have the same modifier/s,
it may be more readable to apply them to a whole block, eg:

Code Block
static{
   def a(){ ... }
   def b(){ ... }
}
  

becomes

Code Block
static a(){ ... }
static b(){ ... }

...