replaceVariables
Replaces variables in the given list of strings with their corresponding values from the given map of variables. If the list of strings is null, null is returned. If the map of variables is null or empty, the original list of strings is returned.
Return
The list of strings with variables replaced by their corresponding values from the map of variables.
Parameters
variables
The map of variables to replace in the strings.
strings
The list of strings in which to replace the variables.