org.linkedin.util-core/src/main/java/org/linkedin/util/url/QueryBuilder.java
private void rebuildQuery()
  {
    Map<String, String[]> map = getMap();
    
    // reset query instance and re-populate it again
    _query.setLength(0);
    for (String key : map.keySet())
    {
      String[] parameters = map.get(key);
      for (String param : parameters)
      {
        addQueryParameter(key, param);
      }
    }
  }
private void rebuildQuery()
  {
    Map<String, String[]> map = getMap();
    
    // reset query instance and re-populate it again
    _query.setLength(0);
    for (String key : map.keySet())
    {
      String[] parameters = map.get(key);
      for (String param : parameters)
      {
        addQueryParameter(key, param);
      }
    }
  }
Rebuild query instance with values in the map.