spring-geode/src/main/java/org/springframework/geode/core/env/support/CloudCacheService.java
/**
		 * Factory method used to parse a {@link String comma-delimited list of Locator network endpoints}
		 * into a {@link List} of {@link Locator} objects.
		 *
		 * The {@link String comma-delimited list of Locators} must be formatted as
		 * {@literal host1[port1],host2[port2], ...,hostN[portN]}.
		 *
		 * @param locators {@link String} containing a comma-delimited list of Locator network endpoints.
		 * @return a new {@link List} of {@link Locator} objects or an empty {@link List}
		 * if no Locators were specified.
		 * @throws IllegalArgumentException if an individual Locator {@link String host[port]} is not valid.
		 * @see #parse(String)
		 */
Factory method used to parse a  String comma-delimited list of Locator network endpoints
into a  List of  Locator objects.

The  String comma-delimited list of Locators must be formatted as
host1[port1],host2[port2], ...,hostN[portN].

@param locators  String containing a comma-delimited list of Locator network endpoints.
@return a new  List of  Locator objects or an empty  List
if no Locators were specified.
@throws IllegalArgumentException if an individual Locator  String host[port] is not valid.
Factory method used to parse a String comma - delimited list of Locator network endpoints into a List of Locator objects . The String comma - delimited list of Locators must be formatted as host1 [ port1 ] host2 [ port2 ] ... hostN [ portN ] . @param locators String containing a comma - delimited list of Locator network endpoints . @return a new List of Locator objects or an empty List if no Locators were specified . @throws IllegalArgumentException if an individual Locator String host [ port ] is not valid .
public static List<Locator> parseLocators(String locators) {
			return Arrays.stream(String.valueOf(locators).split(","))
				.filter(StringUtils::hasText)
				.map(Locator::parse)
				.collect(Collectors.toList());
		}
public static List < Locator > parseLocators ( String locators ) { return Arrays . stream ( String . valueOf ( locators ) . split ( "," ) ) . filter ( StringUtils :: hasText ) . map ( Locator :: parse ) . collect ( Collectors . toList ( ) ) ; }
Factory method used to parse a {@link String comma-delimited list of Locator network endpoints}
 into a {@link List} of {@link Locator} objects.
Factory method used to parse a { @link String comma - delimited list of Locator network endpoints } into a { @link List } of { @link Locator } objects .