alamar commented on a change in pull request #8868:
URL: https://github.com/apache/ignite/pull/8868#discussion_r595118521



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/binary/BinaryEnumObjectImpl.java
##########
@@ -473,4 +473,17 @@ public BinaryEnumObjectImpl(BinaryContext ctx, byte[] arr) 
{
 
         return reader.afterMessageRead(BinaryEnumObjectImpl.class);
     }
+
+    /** {@inheritDoc} */
+    @Override public int size() {
+        if (valBytes == null) {
+            try {
+                valBytes = U.marshal(ctx.marshaller(), this);
+            } catch (IgniteCheckedException e) {

Review comment:
       Please note that catch ( should start on a new line according to 
https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines
   
   I will fix that during merge.




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


Reply via email to