Skip to content

Commit

Permalink
TypeStream: Make iterator class final.
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjon3377 committed Mar 16, 2024
1 parent 674940e commit 7fe4d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lovelace-util/src/main/java/lovelace/util/TypeStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public Iterator<Class<?>> iterator() {
return new TypeIterator(obj, cache);
}

private static class TypeIterator implements Iterator<Class<?>> {
private static final class TypeIterator implements Iterator<Class<?>> {
private final LinkedList<Class<?>> ourCopy;
private final List<Class<?>> cache;
private final Collection<Class<?>> classes = new HashSet<>();
Expand Down

0 comments on commit 7fe4d08

Please sign in to comment.