Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] Is it a method or a closure...?

Gordon Ross

2010-03-15

Replies: Find Java Web Hosting

Author LoginPost Reply
In the grails documentation[1], there's this line of code:

static void unlink(employee, team) {

Now, what, technically, is this ?

It can't be a Java method, as the parameters aren't typed.

But it can't be a closure because it's not defined as:

Def unlink = { }

Or is it a typo on the grails website ?

GTG

[1] http://www.grails.org/Many-to-Many+Mapping+without+Hibernate+XML


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.