diff --git a/src/java/org/apache/commons/collections/IteratorUtils.java b/src/java/org/apache/commons/collections/IteratorUtils.java index 794961177..9805166f7 100644 --- a/src/java/org/apache/commons/collections/IteratorUtils.java +++ b/src/java/org/apache/commons/collections/IteratorUtils.java @@ -892,7 +892,7 @@ public class IteratorUtils { } else if (obj instanceof Dictionary) { return new EnumerationIterator(((Dictionary) obj).elements()); - } else if (obj != null && obj.getClass().isArray()) { + } else if (obj.getClass().isArray()) { return new ArrayIterator(obj); } else {