code: private void addAllBundles(List<JoinableResourceBundle> bundles, Map<String, String> variants, StringBuffer buf,
  			boolean useGzip) {
  		for (Iterator<JoinableResourceBundle> it = bundles.iterator(); it.hasNext();) {
  			JoinableResourceBundle bundle = it.next();
  			appendBundle(bundle, variants, buf, useGzip);
  
  			if (it.hasNext())
  				buf.append(",");
  		}
  	}
docs: Adds a javascript Resourcebundle representation for each member of a List
  containing JoinableResourceBundles
  
  @param bundles
  the bundles
  @param variants
  the variant map
  @param buf
  the buffer
  @param useGzip
  the flag indicating if we use gzip compression or not.