On 6/04/2010, at 11:05 AM, Adam Heath wrote:

> [email protected] wrote:
>> -    if (recentArtifactInfoList && 
>> recentArtifactInfoList.get(0).equals(artifactInfo)) {
>> +    if (recentArtifactInfoList && 
>> recentArtifactInfoList.get(0).equals(artifactInfoMap)) {
> 
> Same here, recentArtifactInfoList[0] == artifactInfoMap.  Might be
> able to do foo?[0] ==, but I haven't tried that.

I'm not sure if that would work, the safe navigation operator is ?. not just ? 
which I think it might confuse with part of a ternary operation.
I know groovy has a ton of useful stuff but I just don't use it often enough to 
get comfortable with most of them.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to