This is an automated email from the ASF dual-hosted git repository.
ycai pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-sidecar.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6e8a628 ninja fix: spotbugs complains about passing known null values
6e8a628 is described below
commit 6e8a62845acd211bb8fa460ef874b477245f395e
Author: Yifan Cai <[email protected]>
AuthorDate: Tue Jun 27 15:21:29 2023 -0700
ninja fix: spotbugs complains about passing known null values
---
.../org/apache/cassandra/sidecar/client/retry/BasicRetryPolicy.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/client/src/main/java/org/apache/cassandra/sidecar/client/retry/BasicRetryPolicy.java
b/client/src/main/java/org/apache/cassandra/sidecar/client/retry/BasicRetryPolicy.java
index 1eb3719..c06a629 100644
---
a/client/src/main/java/org/apache/cassandra/sidecar/client/retry/BasicRetryPolicy.java
+++
b/client/src/main/java/org/apache/cassandra/sidecar/client/retry/BasicRetryPolicy.java
@@ -152,11 +152,11 @@ public class BasicRetryPolicy extends RetryPolicy
// checksum is encountered
if (canRetryOnADifferentHost)
{
- retryImmediately(responseFuture, request, retryAction,
attempts, throwable);
+ retryImmediately(responseFuture, request, retryAction,
attempts);
}
else
{
- retry(responseFuture, request, retryAction, attempts,
throwable);
+ retry(responseFuture, request, retryAction, attempts, null);
}
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]