fixed drainTo bug that when collection is null , we lost the drained values and some test corrections
used ValidationUtil
changed place null check
Merge pull request #3351 from hasancelik/fix/master/drainTo

fixed drainTo bug that when collection is null , we lost the drained val...