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


##########
src/java/org/apache/cassandra/net/Message.java:
##########
@@ -711,15 +708,12 @@ private Serializer()
 
         public <T> void serialize(Message<T> message, DataOutputPlus out, int 
version) throws IOException
         {
-            if (version >= VERSION_40)
-                serializePost40(message, out, version);
-            else
-                serializePre40(message, out, version);
+            serializePost40(message, out, version);

Review Comment:
   i thought of that… but what about making forward-merge simpler? 
   
   any harm in keeping it for another release cycle, cleaning it later? 



##########
src/java/org/apache/cassandra/net/Message.java:
##########
@@ -711,15 +708,12 @@ private Serializer()
 
         public <T> void serialize(Message<T> message, DataOutputPlus out, int 
version) throws IOException
         {
-            if (version >= VERSION_40)
-                serializePost40(message, out, version);
-            else
-                serializePre40(message, out, version);
+            serializePost40(message, out, version);

Review Comment:
   i thought of that… but what about making forward-merge simpler? 
   
   any harm in keeping it for another release cycle, cleaning it later? 



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