code: private static Map<String, String> convertParametersList(List<NameValuePair> parameters) {
  		Map<String, String> map = new HashMap<>();
  		for (NameValuePair parameter : parameters) {
  			String value = parameter.getValue();
  			if (value == null) {
  				value = "";
  			}
  			map.put(parameter.getName(), value);
  		}
  		return map;
  	}
docs: Converts the given {@code List} of parameters to a {@code Map}.
  <p>
  The names of parameters are used as keys (mapping to corresponding value) thus removing any duplicated parameters. It is
  used an empty {@code String} for the mapping, if the parameter has no value ({@code null}).
  
  @param parameters the {@code List} to be converted, must not be {@code null}
  @return a {@code Map} containing the parameters