[GRADLE-258] doc examples could be more Groovy idiomatic Created: 08/Oct/08  Updated: 04/Jan/13  Resolved: 30/Jun/09

Status: Resolved
Project: Gradle
Affects Version/s: 0.4
Fix Version/s: 0.7

Type: Improvement
Reporter: Dierk Koenig Assignee: Hans Dockter
Resolution: Fixed Votes: 0


 Description   

The running example

File[] files = new File('.').listFiles()
Arrays.sort(files) 
files

could simply be

new File('.').listFiles().sort()

Generated at Wed Jun 30 11:25:36 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.