gedi-geode-extensions-core/src/main/java/gedi/solutions/geode/client/GeodeSettings.java
@SuppressWarnings("unchecked")
	public List<URI> getLocatorUrlList() 

	{
		List<URI> locatorList = new ArrayList<URI>();
		Map<String, ?> credentials = getCredentials();
		List<String> locators = null;
		
		if (credentials != null)
			locators = (List<String>) credentials.get("locators");
			
		try
		{
			if(locators == null || locators.isEmpty())
			{
				//get for LOCATORS env
				String locatorsConfig = Config.getProperty(GeodeConfigConstants.LOCATORS_PROP,"");
				if(locatorsConfig.length() == 0)
					return null;
	
				String[] parsedLocators = locatorsConfig.split(",");
				
				if(parsedLocators == null || parsedLocators.length == 0)
					return null;
				
				locators = Arrays.asList(parsedLocators);
			}
			
			for (String locator : locators)
			{
				Matcher m = regExpPattern.matcher(locator);
				if (!m.matches())
				{
					throw new IllegalStateException("Unexpected locator format. expected host[port], but got:" + locator);
				}
				locatorList.add(new URI("locator://" + m.group(1) + ":" + m.group(2)));
			}
			return locatorList;
		
		}
		catch (URISyntaxException e)
		{
			throw new ConfigException("One of the provided locators has an incorrect syntax:"+locatorList);
		}
		

	}
@SuppressWarnings("unchecked")
	public List<URI> getLocatorUrlList() 

	{
		List<URI> locatorList = new ArrayList<URI>();
		Map<String, ?> credentials = getCredentials();
		List<String> locators = null;
		
		if (credentials != null)
			locators = (List<String>) credentials.get("locators");
			
		try
		{
			if(locators == null || locators.isEmpty())
			{
				//get for LOCATORS env
				String locatorsConfig = Config.getProperty(GeodeConfigConstants.LOCATORS_PROP,"");
				if(locatorsConfig.length() == 0)
					return null;
	
				String[] parsedLocators = locatorsConfig.split(",");
				
				if(parsedLocators == null || parsedLocators.length == 0)
					return null;
				
				locators = Arrays.asList(parsedLocators);
			}
			
			for (String locator : locators)
			{
				Matcher m = regExpPattern.matcher(locator);
				if (!m.matches())
				{
					throw new IllegalStateException("Unexpected locator format. expected host[port], but got:" + locator);
				}
				locatorList.add(new URI("locator://" + m.group(1) + ":" + m.group(2)));
			}
			return locatorList;
		
		}
		catch (URISyntaxException e)
		{
			throw new ConfigException("One of the provided locators has an incorrect syntax:"+locatorList);
		}
		

	}
------------------------------------------------