Hi, thank you for the feedback. Groovy doc says that ‘curly braces may be omitted for unambiguous dotted expressions’. I’ve checked in a console, both variants return the same result
j
Jgafner
08/14/2021, 4:20 PM
Yes but when migrating to kotlin it start
complaining so I think better use it
d
duuusha
08/15/2021, 6:38 AM
thanks, I’ve updated the example for more convenient migration