rpuch commented on code in PR #4170:
URL: https://github.com/apache/ignite-3/pull/4170#discussion_r1701753467


##########
modules/network-annotation-processor/src/main/java/org/apache/ignite/internal/network/processor/TransferableObjectProcessor.java:
##########
@@ -351,4 +354,33 @@ private void writeServiceFile(String packageName, TypeSpec 
registryInitializer)
             throw new ProcessingException(e.getMessage(), e);
         }
     }
+
+    /** Generates utility classes for {@link Enum} in network messages. */
+    private void generateEnumTransferableUtils(Collection<MessageClass> 
messageClasses, MessageGroupWrapper messageGroup) {
+        List<MessageClass> serializableMessages = 
collectAutoSerializableMessageClasses(messageClasses);
+
+        if (serializableMessages.isEmpty()) {
+            return;
+        }

Review Comment:
   Could you please add a comment explaining this? Otherwise, it's not obvious 
from this part of the code.



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