abashev commented on code in PR #12889:
URL: https://github.com/apache/ignite/pull/12889#discussion_r2966337716


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/FragmentMapping.java:
##########
@@ -177,4 +179,16 @@ public FragmentMapping explicitMapping(Set<Long> srcIds) {
     @Override public MessageType type() {
         return MessageType.FRAGMENT_MAPPING;
     }
+
+    /** {@inheritDoc} */
+    @Override public void prepareMarshal(GridCacheSharedContext<?, ?> ctx) 
throws IgniteCheckedException {
+        for (ColocationGroup grp : colocationGrps)

Review Comment:
   if you are not having mandatory brackets for single-line loops then forEach 
could give you at least a simple protection from missed statements



-- 
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]

Reply via email to