alex-plekhanov commented on a change in pull request #9751:
URL: https://github.com/apache/ignite/pull/9751#discussion_r796546472
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/ColocationGroup.java
##########
@@ -78,27 +74,20 @@ public static ColocationGroup
forAssignments(List<List<UUID>> assignments) {
/** */
public static ColocationGroup forSourceId(long sourceId) {
- return new ColocationGroup(Collections.singletonList(sourceId), null,
null);
+ return new ColocationGroup(new long[] {sourceId}, null, null);
}
/** */
public ColocationGroup() {
}
/** */
- private ColocationGroup(List<Long> sourceIds, List<UUID> nodeIds,
List<List<UUID>> assignments) {
+ private ColocationGroup(long[] sourceIds, List<UUID> nodeIds,
List<List<UUID>> assignments) {
this.sourceIds = sourceIds;
Review comment:
Stream replaced with `for loop`
--
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]