diff --git a/src/main/java/org/apache/commons/lang3/ClassUtils.java b/src/main/java/org/apache/commons/lang3/ClassUtils.java index 6a864efdf..de71e91a8 100644 --- a/src/main/java/org/apache/commons/lang3/ClassUtils.java +++ b/src/main/java/org/apache/commons/lang3/ClassUtils.java @@ -1521,7 +1521,7 @@ public class ClassUtils { final Iterator> wrapped = classes.iterator(); return new Iterator>() { - Iterator> interfaces = Collections.>emptySet().iterator(); + Iterator> interfaces = Collections.emptyIterator(); @Override public boolean hasNext() {