Make collectors final

This commit is contained in:
TomTom 2024-08-01 09:21:34 +02:00
parent c94e6be866
commit 2b11658e06
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import redempt.crunch.CompiledExpression;
import java.util.List; import java.util.List;
import java.util.function.Consumer; import java.util.function.Consumer;
public class BlockCollector extends Collector<Location> { public final class BlockCollector extends Collector<Location> {
private final CollectorShape shape; private final CollectorShape shape;
private final CompiledExpression expression; private final CompiledExpression expression;
private final List<Filter<?>> filters; private final List<Filter<?>> filters;

View File

@ -11,7 +11,7 @@ import redempt.crunch.CompiledExpression;
import java.util.List; import java.util.List;
import java.util.function.Consumer; import java.util.function.Consumer;
public class EntityCollector extends Collector<Entity> { public final class EntityCollector extends Collector<Entity> {
private final CollectorShape shape; private final CollectorShape shape;
private final CompiledExpression expression; private final CompiledExpression expression;
private final List<Filter<?>> filters; private final List<Filter<?>> filters;