@SuppressWarnings("unchecked")
	public String getLocators()
	{
		StringBuilder locatorList = new StringBuilder();
		Map<String, ?> credentials = getCredentials();

		if (credentials == null)
			return null;

		List<String> locators = (List<String>) credentials.get("locators");
		for (String locator : locators)
		{

			if (locatorList.length() != 0)
				locatorList.append(",");

			locatorList.append(locator);
		}
		return locatorList.toString();
	}
@SuppressWarnings("unchecked")
	public String getLocators()
	{
		StringBuilder locatorList = new StringBuilder();
		Map<String, ?> credentials = getCredentials();

		if (credentials == null)
			return null;

		List<String> locators = (List<String>) credentials.get("locators");
		for (String locator : locators)
		{

			if (locatorList.length() != 0)
				locatorList.append(",");

			locatorList.append(locator);
		}
		return locatorList.toString();
	}
@ SuppressWarnings ( "unchecked" ) public String getLocators ( ) { StringBuilder locatorList = new StringBuilder ( ) ; Map < String , ? > credentials = getCredentials ( ) ; if ( credentials == null ) return null ; List < String > locators = ( List < String > ) credentials . get ( "locators" ) ; for ( String locator : locators ) { if ( locatorList . length ( ) != 0 ) locatorList . append ( "," ) ; locatorList . append ( locator ) ; } return locatorList . toString ( ) ; }
------------------------------------------------
------------------------------------------------