AMashenkov commented on a change in pull request #398:
URL: https://github.com/apache/ignite-3/pull/398#discussion_r732521388
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/QueryTemplate.java
##########
@@ -52,11 +51,11 @@
public QueryTemplate(MappingService mappingService, List<Fragment>
fragments) {
this.mappingService = mappingService;
- ImmutableList.Builder<Fragment> b = ImmutableList.builder();
+ List<Fragment> frgs = new ArrayList<>();
Review comment:
```suggestion
List<Fragment> frgs = new ArrayList<>(fragments.size());
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]