* Static implementation of removeConsumer method
* @param consumersList - list of consumers
* @param ic - consumer to be removed
*/
private static void removeConsumer(List<ImageConsumer> consumersList, ImageConsumer ic) {
ImageConsumer cons = null;
for (Iterator<ImageConsumer> i = consumersList.iterator(); i.hasNext();) {
cons = i.next();
if (cons.equals(ic)) {
i.remove();
}
}
}