src/org/ohmage/cache/AsyncImageProcessor.java
protected synchronized void queueImages(
			final Collection<Image> images) {
			
			// If the images are null, then we ignore it the same as if the
			// list was empty.
			if(images == null) {
				return;
			}
			
			// Remove duplicates.
			images.removeAll(imageQueue);
			
			// Add the ones that were not already part of the list.
			imageQueue.addAll(images);
		}
/**
		 * Adds a set of image Images whose data should be processed and
		 * updated.
		 * 
		 * @param images The Images to add to the list.
		 */
Adds a set of image Images whose data should be processed and
updated.

@param images The Images to add to the list.
Adds a set of image Images whose data should be processed and updated . @param images The Images to add to the list .
protected synchronized void queueImages(
			final Collection<Image> images) {
			if(images == null) {
				return;
			}
			images.removeAll(imageQueue);
			imageQueue.addAll(images);
		}
protected synchronized void queueImages ( final Collection < Image > images ) { if ( images == null ) { return ; } images . removeAll ( imageQueue ) ; imageQueue . addAll ( images ) ; }
Adds a set of image Images whose data should be processed and
 updated.
Adds a set of image Images whose data should be processed and updated .
// If the images are null, then we ignore it the same as if the // list was empty. // Remove duplicates. // Add the ones that were not already part of the list.