Helper method that provides a null-safe way to convert a String[] to a Collection for client libraries to use.
String[]
a collection or null
null
the array to convert