Author Login
Post Reply
Alexander Veit-5 wrote:
>
> If Bar is not final, you could define
>
> class MockBar extends Bar {
> public void bar() {
> // ...
> }
> }
>
Thanks ... that's more or less what I have been doing. I was wondering if
there's any way to apply closures to reduce it to a 1 liner or something
similar. Sounds like there's not - would be a great feature to have :-)
Cheers,
Simon.
--
Sent from the groovy - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email