Java groovy changes