[ 
https://issues.apache.org/jira/browse/CASSANDRA-15636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-15636:
----------------------------------------
    Change Category: Code Clarity
         Complexity: Low Hanging Fruit
           Priority: Low  (was: Normal)
             Status: Open  (was: Triage Needed)

> Refactor protocol related code to eliminate magic numbers
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-15636
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15636
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Messaging/Client
>            Reporter: Dinesh Joshi
>            Priority: Low
>
> Parts of Cassandra's codebase has protocol related magic numbers. It makes 
> the code hard to understand. We should refactor the code to remove magic 
> numbers and instead replace them with versioned constants. This will help 
> make the code clearer. Example: 
> https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/transport/messages/ErrorMessage.java#L288



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to