the way to fix it in this scenario is ``` val cust...
# announcements
m
the way to fix it in this scenario is
Copy code
val custListWithRandomNames: ArrayList<CustomerInfo>  = custInfoListReq.map {
    it.apply { customerInfo?.name =  customerInfo?.name + RandomStringUtils.randomAlphabetic(7) }
}