anton-vinogradov commented on code in PR #12889:
URL: https://github.com/apache/ignite/pull/12889#discussion_r2966288825


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryPredicateAdapter.java:
##########
@@ -144,27 +147,65 @@ public PredicateType type() {
 
     /** */
     public byte code() {
-        assert type != null;
+        return code;
+    }
 
+    /** */
+    public void code(byte code) {
+        this.code = code;
+    }
+
+    /** {@inheritDoc} */
+    @Override public void prepareMarshal(Marshaller marsh) throws 
IgniteCheckedException {
         switch (type) {
-            case OTHER: return 0;
-            case VALUE: return 1;
-            case HAS_VALUE: return 2;
-            case HAS_NO_VALUE: return 3;
-            case ALWAYS_FALSE: return 4;
-        }
+            case OTHER:
+                code = 0;

Review Comment:
   Because there changes are not related to an issue.



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