arina-ielchiieva commented on a change in pull request #1988: DRILL-7590:
Refactor plugin registry
URL: https://github.com/apache/drill/pull/1988#discussion_r383950429
##########
File path:
logical/src/main/java/org/apache/drill/common/logical/data/LogicalOperatorBase.java
##########
@@ -20,21 +20,18 @@
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
-import java.util.Set;
import org.apache.drill.common.graph.GraphVisitor;
import org.apache.drill.common.logical.ValidationError;
-import org.apache.drill.common.scanner.persistence.ScanResult;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
public abstract class LogicalOperatorBase implements LogicalOperator{
- static final org.slf4j.Logger logger =
org.slf4j.LoggerFactory.getLogger(LogicalOperatorBase.class);
- private List<LogicalOperator> children = new ArrayList<LogicalOperator>();
+ private final List<LogicalOperator> children = new
ArrayList<LogicalOperator>();
Review comment:
```suggestion
private final List<LogicalOperator> children = new ArrayList<>();
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services