Re: [VOTE] new operator ?=

2016-11-23 Thread Peter McNeil
+1 On 24/11/16 02:59, Daniel Sun wrote: Hi all, If the new operator ?= (e.g. a ?= 'foo' is equivalent of a = a ?: 'foo') were to be added to Groovy programming language, do you like it? (Yes: +1; No: -1; Not bad: 0) Cheers, Daniel.Sun -- View this message in context: http://groov

Re: Simple question.. how to call a java class method in Groovy Script

2017-05-22 Thread Peter McNeil
Unusual for a Java Class to have a lower case name... just sayin' On 23/05/17 03:40, RJ wrote: Here is my script. Highlighted the method call.. tried some google searches for the syntax. Thanks for the help! import java.util.* import com.example.auth.user; class EBSAttrRelease { def Map>

Re: Groovy Champions proposal feedback - Groovy MVPs ?

2018-02-19 Thread Peter McNeil
You're all missing the obvious "Groovy GR8" :-) On 20/02/18 11:35, Paul King wrote: Supreme Thanks Award Recognising contributions? :-) On Tue, Feb 20, 2018 at 7:08 AM, Kostas Saidis > wrote: My own few cents, too: Groovy Star, Groovy Champion, Groovy MVP al

Re: Strategy for optionally excluding a named method parameter?

2020-04-26 Thread Peter McNeil
G'day David On 25/4/20 6:17 am, David Karr wrote: Lately my only Groovy work is scripted pipelines in Jenkins, version 2.89.4 . I'm working with an api that is somewhat dumb in one respect.  The method we call takes ~25 parameters.  We send them as named parameters. One of the parameters is