Fixing unnecessary null check in IteratorUtils per COLLECTIONS-319

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@767766 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2009-04-23 02:37:17 +00:00
parent 65eb026acf
commit ab6e5256d8
1 changed files with 1 additions and 1 deletions

View File

@ -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 {