src/org/ohmage/domain/campaign/Campaign.java
public void addMasks(final Collection<CampaignMask> masks) {
		if(masks == null) {
			return;
		}
		
		// Add the new masks, if any.
		this.masks.addAll(masks);
		
		// Sort them.
		Collections.sort(this.masks);
	}
/**
	 * Adds the campaign masks to this campaign.
	 * 
	 * @param masks The collection of masks to add.
	 */
Adds the campaign masks to this campaign.

@param masks The collection of masks to add.
Adds the campaign masks to this campaign . @param masks The collection of masks to add .
public void addMasks(final Collection<CampaignMask> masks) {
		if(masks == null) {
			return;
		}
		this.masks.addAll(masks);
		Collections.sort(this.masks);
	}
public void addMasks ( final Collection < CampaignMask > masks ) { if ( masks == null ) { return ; } this . masks . addAll ( masks ) ; Collections . sort ( this . masks ) ; }
Adds the campaign masks to this campaign.
Adds the campaign masks to this campaign .
// Add the new masks, if any. // Sort them.