groovy style refactoring (http://groovy.codehaus.org/Groovy+style+and+language+feature+guidelines+for+Java+developers)