Declare IterableEnumeration final as it only has private constructors

This commit is contained in:
Andy Wilkinson
2015-02-16 19:53:47 +00:00
parent e464127278
commit 81c6e88060

View File

@@ -26,7 +26,7 @@ import java.util.Iterator;
*
* @param <T> the type of the Enumeration's contents
*/
public class IterableEnumeration<T> implements Iterable<T> {
public final class IterableEnumeration<T> implements Iterable<T> {
private final Enumeration<T> enumeration;