Skip to content

Commit d28b26c

Browse files
committed
Dont use NotNull in ComponentStorage iterator method
1 parent 99c0cbd commit d28b26c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/aztech/modern_industrialization/machines/ComponentStorage.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@
3333
import java.util.function.Consumer;
3434
import java.util.function.Function;
3535
import net.minecraft.resources.ResourceLocation;
36-
import org.jetbrains.annotations.NotNull;
3736

3837
public sealed class ComponentStorage<C> implements Iterable<C> permits ComponentStorage.GuiServer, ComponentStorage.Server {
3938
protected final List<C> components = new ArrayList<>();
4039

41-
@NotNull
4240
@Override
4341
public Iterator<C> iterator() {
4442
return components.iterator();

0 commit comments

Comments
 (0)