[
https://issues.apache.org/jira/browse/CASSSIDECAR-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17908984#comment-17908984
]
Yifan Cai commented on CASSSIDECAR-182:
---------------------------------------
+1
Waiting for green CI
> Refactor access to delegate methods to simplify
> -----------------------------------------------
>
> Key: CASSSIDECAR-182
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-182
> Project: Sidecar for Apache Cassandra
> Issue Type: Improvement
> Components: Rest API
> Reporter: Francisco Guerrero
> Assignee: Francisco Guerrero
> Priority: Normal
> Fix For: 1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, many handlers perform a delegate null check, retrieve an operation
> interface from the delegate when non-null, and then perform a null check for
> the operation. When any of the checks returns null, we return a
> {{cassandraServiceUnavailable}} exception. We can simplify the checks by
> providing a utility method that all handlers can reuse.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]