Redundant Collection operation. Use Collections.emptyIterator() (#738)
This commit is contained in:
parent
950ab130d6
commit
6e4ed7cd4f
|
@ -1521,7 +1521,7 @@ public class ClassUtils {
|
|||
final Iterator<Class<?>> wrapped = classes.iterator();
|
||||
|
||||
return new Iterator<Class<?>>() {
|
||||
Iterator<Class<?>> interfaces = Collections.<Class<?>>emptySet().iterator();
|
||||
Iterator<Class<?>> interfaces = Collections.emptyIterator();
|
||||
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
|
|
Loading…
Reference in New Issue