alamar commented on a change in pull request #9163:
URL: https://github.com/apache/ignite/pull/9163#discussion_r649165872
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java
##########
@@ -1283,8 +1287,11 @@ private void registerTypeLocally(String clsName) throws
BinaryObjectException {
Class<?> cls = U.box(U.classForName(clsName, null, true));
- if (cls != null)
- binProc.binaryContext().registerClass(cls, true, false, true);
+ if (cls != null) {
+ if (!platformOnly) {
Review comment:
For single-line if() statement, curly braces are not needed.
--
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]