docs: private static Map<String, String> getAttributeMap(String source) {
  
  		if (!StringUtils.hasText(source)) {
  			return Collections.emptyMap();
  		}
  
  		Map<String, String> attributes = new HashMap<>();
  		Matcher matcher = KEY_AND_VALUE_PATTERN.matcher(source);
  
  		while (matcher.find()) {
  			attributes.put(matcher.group(1), matcher.group(2));
  		}
  
  		return attributes;
  	}