diff --git a/lovelace-util/src/main/java/lovelace/util/TypeStream.java b/lovelace-util/src/main/java/lovelace/util/TypeStream.java index 1360fe86e..c44e401e2 100644 --- a/lovelace-util/src/main/java/lovelace/util/TypeStream.java +++ b/lovelace-util/src/main/java/lovelace/util/TypeStream.java @@ -26,7 +26,7 @@ public Iterator> iterator() { return new TypeIterator(obj, cache); } - private static class TypeIterator implements Iterator> { + private static final class TypeIterator implements Iterator> { private final LinkedList> ourCopy; private final List> cache; private final Collection> classes = new HashSet<>();