[ https://issues.apache.org/jira/browse/CASSANDRA-18099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17649985#comment-17649985 ]
Ariel Weisberg edited comment on CASSANDRA-18099 at 1/3/23 6:41 PM: -------------------------------------------------------------------- Have +1s from [~maedhroz] and [~dcapwell] , [waiting on tests|https://app.circleci.com/pipelines/github/aweisberg/cassandra/73]. was (Author: aweisberg): Have +1s from [~maedhroz] and [~dcapwell] , [waiting on tests|https://app.circleci.com/pipelines/github/aweisberg/cassandra/71]. > Use checked casts when reading vints as ints > -------------------------------------------- > > Key: CASSANDRA-18099 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18099 > Project: Cassandra > Issue Type: Improvement > Components: Messaging/Client, Messaging/Internode, Messaging/Thrift > Reporter: Ariel Weisberg > Assignee: Ariel Weisberg > Priority: Normal > > Add some safety and a new convenience method to make clear that getting an > int can be done using a checked method. No need to import a separate class. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org