package org.apache.jasper.util;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
<BUG>import java.util.NoSuchElementException;
public final class Enumerator<T> implements Enumeration<T> {</BUG>
public Enumerator(Iterator<T> iterator) {
super();
this.iterator = iterator;

package org.apache.jasper.util;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
@Deprecated
public final class Enumerator<T> implements Enumeration<T> {
public Enumerator(Iterator<T> iterator) {
super();
this.iterator = iterator;
