src/org/ohmage/domain/Audit.java
public void addParameter(String key, String value) 
			throws DomainException {
		
		if(key == null) {
			throw new DomainException("The key cannot be null.");
		}
		
		List<String> values = parameters.get(key);
		if(values == null) {
			values = new LinkedList<String>();
			parameters.put(key, values);
		}
		values.add(value);
	}
/**
	 * Adds a "parameter" item to the list of parameters in this request.
	 * 
	 * @param key The key for this parameter. Multiple parameters with the same
	 * 			  key are allowed.
	 * 
	 * @param value A new or another value for this key.
	 * 
	 * @throws DomainException The parameter's key was null.
	 */
Adds a "parameter" item to the list of parameters in this request.

@param key The key for this parameter. Multiple parameters with the same
key are allowed.

@param value A new or another value for this key.

@throws DomainException The parameter's key was null.
Adds a " parameter " item to the list of parameters in this request . @param key The key for this parameter . Multiple parameters with the same key are allowed . @param value A new or another value for this key . @throws DomainException The parameter ' s key was null .
public void addParameter(String key, String value) 
			throws DomainException {
		if(key == null) {
			throw new DomainException("The key cannot be null.");
		}
		List<String> values = parameters.get(key);
		if(values == null) {
			values = new LinkedList<String>();
			parameters.put(key, values);
		}
		values.add(value);
	}
public void addParameter ( String key , String value ) throws DomainException { if ( key == null ) { throw new DomainException ( "The key cannot be null." ) ; } List < String > values = parameters . get ( key ) ; if ( values == null ) { values = new LinkedList < String > ( ) ; parameters . put ( key , values ) ; } values . add ( value ) ; }
Adds a "parameter" item to the list of parameters in this request.
Adds a " parameter " item to the list of parameters in this request .