maedhroz commented on a change in pull request #1182:
URL: https://github.com/apache/cassandra/pull/1182#discussion_r706471367



##########
File path: src/java/org/apache/cassandra/db/marshal/CollectionType.java
##########
@@ -199,6 +199,15 @@ public boolean 
isValueCompatibleWithInternal(AbstractType<?> previous)
         return isValueCompatibleWithFrozen(tprev);
     }
 
+    @Override
+    public boolean isSerializationCompatibleWith(AbstractType<?> previous)
+    {
+        if (!isValueCompatibleWith(previous))
+            return false;
+
+        return 
valueComparator().isSerializationCompatibleWith(((CollectionType)previous).valueComparator());

Review comment:
       There are actually a few other places in `CollectionType` we could get 
rid of compile warnings (and one in `ReversedType`).




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to