[ https://issues.apache.org/jira/browse/GROOVY-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-2990. ----------------------------- > Change instance method that return void to return this instead > -------------------------------------------------------------- > > Key: GROOVY-2990 > URL: https://issues.apache.org/jira/browse/GROOVY-2990 > Project: Groovy > Issue Type: Improvement > Components: groovy-jdk > Environment: All > Reporter: G. Ralph Kuntz > Priority: Major > > Change all instance methods in the GDK that return 'void' to return 'this' > instead. This would allow method "chaining". > Example: (proc = "ls -l".execute()).consumeProcessOutput(System.out, > System.err).waitFor() -- This message was sent by Atlassian Jira (v8.20.10#820010)