org.linkedin.util-core/src/main/java/org/linkedin/util/url/QueryBuilder.java
private void addParameterToMap(String name, String value)
  {
    String[] params = getParameterValues(name);
    if(params == null)
    {
      params = new String[1];
      params[0] = value;
      _queryParameters.put(name, params);
    }
    else
    {
      int len = params.length;
      String[] newParams = new String[len + 1];
      System.arraycopy(params, 0, newParams, 0, len);
      newParams[len] = value;
      _queryParameters.put(name, newParams);
    }
  }
private void addParameterToMap(String name, String value)
  {
    String[] params = getParameterValues(name);
    if(params == null)
    {
      params = new String[1];
      params[0] = value;
      _queryParameters.put(name, params);
    }
    else
    {
      int len = params.length;
      String[] newParams = new String[len + 1];
      System.arraycopy(params, 0, newParams, 0, len);
      newParams[len] = value;
      _queryParameters.put(name, newParams);
    }
  }
Adds the query parameter

@param name
@param value