Clone
Louis Jacomet <louis@gradle.com>
committed
on 28 Jan
Set collection to null instead of using clear
This simplifies the branch check and the cleanup logic.

Issue #8099
master + 315 more