Mmuzaf commented on PR #2506:
URL: https://github.com/apache/cassandra/pull/2506#issuecomment-1652178468

   I have found a few if-else statements `if (version >= 
MessagingService.VERSION_40)` where the _else_ part can be safely removed as 
this condition is always true from now on, right? 
   
   - 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ReadResponse.java#L343
   - 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/locator/InetAddressAndPort.java#L356
   - 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/locator/InetAddressAndPort.java#L431
   - 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/locator/InetAddressAndPort.java#L459
   - 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/locator/InetAddressAndPort.java#L475
   - 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/locator/InetAddressAndPort.java#L506
   - 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/schema/CompressionParams.java#L618
   


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