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

@param key The key for this extra. Multiple extras with the same key are
allowed.

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

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