So first of all, the Set - Data Structure doesn’t seem to automatically ignore duplicates, and secondly, even with considering that the Set doesn’t ignore duplicates, the output obviously doesn’t reflect that.
Is the way I use the Groovy - API wrong or is this an issue with Groovy itself ?
Note that “emptySet” and then the println (commented out) is the relevant part. It seems that if used in this context, it leads to these effects. In a seperate Groovy Script it all works fine…