ok so what i am wanting to do is pretty simple.
I have two arrays, one called children and the other called selectedNameList
children contains the following [Home, Workshop]
and
selectedNameList contains [Home]
so when i run the following
children.removeAll{selectedNameList.contains(it)}
I then look at the children and it still contains [Home, Workshop]
if i run identical code directly in a groovy console, the value of children is changed to [Workshop]β¦any ideas? headscratching!!!