groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Strachan, Paul" <Paul.Strac...@det.nsw.edu.au>
Subject RE: not sure about Collection.intersect
Date Mon, 08 Feb 2016 14:48:50 GMT
Changing to list did not help
@EqualsAndHashCode(includes = ['name'])

possibly I need to reboot, turn off the lights and go to bed :)



From: Edinson E. PadrĂ³n Urdaneta [mailto:edinson.padron.urdaneta@gmail.com]
Sent: Tuesday, 9 February 2016 1:41 AM
To: users@groovy.apache.org
Subject: Re: not sure about Collection.intersect


Could it be that you're using a String instead of a List of String as the value for the `includes`
element?

Check this: http://docs.groovy-lang.org/next/html/gapi/groovy/transform/EqualsAndHashCode.html#includes

**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************
Mime
View raw message