You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Caleb Rackliffe (Jira)" <ji...@apache.org> on 2022/12/12 23:44:00 UTC
[jira] [Commented] (CASSANDRA-18099) Use checked casts when reading vints as ints
[ https://issues.apache.org/jira/browse/CASSANDRA-18099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17646363#comment-17646363 ]
Caleb Rackliffe commented on CASSANDRA-18099:
---------------------------------------------
+1 (assuming we resolve nits around documentation, import order, etc.)
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org