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


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryPredicateAdapter.java:
##########
@@ -130,93 +126,24 @@ public PredicateType type() {
 
     /** {@inheritDoc} */
     @Override public void finishUnmarshal(GridCacheContext ctx, ClassLoader 
ldr) throws IgniteCheckedException {
-        if (type == PredicateType.VALUE)
+        if (type == CacheEntryPredicateType.VALUE)
             val.finishUnmarshal(ctx.cacheObjectContext(), ldr);
     }
 
     /** {@inheritDoc} */
     @Override public void prepareMarshal(GridCacheContext ctx) throws 
IgniteCheckedException {
-        if (type == PredicateType.VALUE)
+        if (type == CacheEntryPredicateType.VALUE)
             val.prepareMarshal(ctx.cacheObjectContext());
     }
 
     /** */
-    public byte code() {
-        return code;
+    public @Nullable CacheObject value() {

Review Comment:
   Unused getter removed



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