Created
December 22, 2014 07:09
-
-
Save radeinla/82b0191f3415eee93d46 to your computer and use it in GitHub Desktop.
Groovy Empty Return Behaviors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A { | |
int b | |
} | |
List<A> cool() { | |
return | |
} | |
boolean really() { | |
return | |
} | |
println cool: cool(), really: really() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment