sergey-chugunov-1985 commented on code in PR #13229:
URL: https://github.com/apache/ignite/pull/13229#discussion_r3394208190


##########
modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryUtils.java:
##########
@@ -607,7 +607,7 @@ public static byte typeByClass(Class<?> cls) {
         if (type != null)
             return type;
 
-        if (CommonUtils.isEnum(cls))
+        if (CommonUtils.isEnum(cls) || cls == Enum.class)

Review Comment:
   Why not to move this code directly into `CommonUtils.isEnum`? Will it break 
anything?



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