adelapena commented on code in PR #2506:
URL: https://github.com/apache/cassandra/pull/2506#discussion_r1274718311


##########
src/java/org/apache/cassandra/net/Message.java:
##########
@@ -1287,7 +986,7 @@ private Map<ParamType, Object> 
deserializeParams(DataInputPlus in, int version)
          */
         private Map<ParamType, Object> extractParams(ByteBuffer buf, int 
readerIndex, int version) throws IOException
         {
-            long count = version >= VERSION_40 ? getUnsignedVInt(buf, 
readerIndex) : buf.getInt(readerIndex);
+            long count = getUnsignedVInt(buf, readerIndex);

Review Comment:
   Nit: The JavaDoc for this method has a mention of `post-4.0` that we can 
remove. Also, the class JavaDoc for `MessageSerializer` has a list of "Legacy 
notes" that can also be 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]


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

Reply via email to