DelegatorsParam: Setter: Refactor delegators

This commit refactors the setter in DelegatorsParam so that it uses a
more understandable code style.

Replacing the foreach with a single if statement which uses Array.every,
and then using as well as a prepared string to make the
paramValues for the generator function.

Reported-by: Akshay Karthik <>
Signed-off-by: Mark Stenglein <>
3 jobs for develop in 54 seconds (queued for 1 second)