src/org/ohmage/query/impl/DocumentQueries.java
private void updateDescription(String documentId, String description) throws DataAccessException {
		if(description == null) {
			return;
		}
		
		// Update the document's description.
		try {
			getJdbcTemplate().update(SQL_UPDATE_DESCRIPTION, new Object[] { description, documentId });
		}
		catch(org.springframework.dao.DataAccessException e) {
			errorExecutingSql(SQL_UPDATE_DESCRIPTION, e, description, documentId);
		}
	}
/**
	 * Updates the description of the document or does nothing if the 
	 * description is null.
	 * 
	 * @param documentId The unique identifier for the document whose name is
	 * 					 being updated.
	 * 
	 * @param description The new description for the document.
	 */
Updates the description of the document or does nothing if the
description is null.

@param documentId The unique identifier for the document whose name is
being updated.

@param description The new description for the document.
Updates the description of the document or does nothing if the description is null . @param documentId The unique identifier for the document whose name is being updated . @param description The new description for the document .
private void updateDescription(String documentId, String description) throws DataAccessException {
		if(description == null) {
			return;
		}
		try {
			getJdbcTemplate().update(SQL_UPDATE_DESCRIPTION, new Object[] { description, documentId });
		}
		catch(org.springframework.dao.DataAccessException e) {
			errorExecutingSql(SQL_UPDATE_DESCRIPTION, e, description, documentId);
		}
	}
private void updateDescription ( String documentId , String description ) throws DataAccessException { if ( description == null ) { return ; } try { getJdbcTemplate ( ) . update ( SQL_UPDATE_DESCRIPTION , new Object [ ] { description , documentId } ) ; } catch ( org . springframework . dao . DataAccessException e ) { errorExecutingSql ( SQL_UPDATE_DESCRIPTION , e , description , documentId ) ; } }
Updates the description of the document or does nothing if the
 description is null.
Updates the description of the document or does nothing if the description is null .
// Update the document's description.