This is an automated email from the ASF dual-hosted git repository.
edimitrova pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new ca6450bda4 Rename internal state() method in AbstractFuture to not
conflict with Java 19 changes patch by Sylwester Lachiewicz; reviewed by
Ekaterina Dimitrova and Brandon Williams for CASSANDRA-18395
ca6450bda4 is described below
commit ca6450bda4136f3c16992c807f510520580a60cb
Author: Ekaterina Dimitrova <[email protected]>
AuthorDate: Mon Apr 10 12:02:49 2023 -0400
Rename internal state() method in AbstractFuture to not conflict with Java
19 changes
patch by Sylwester Lachiewicz; reviewed by Ekaterina Dimitrova and Brandon
Williams for CASSANDRA-18395
---
src/java/org/apache/cassandra/utils/concurrent/AbstractFuture.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/java/org/apache/cassandra/utils/concurrent/AbstractFuture.java
b/src/java/org/apache/cassandra/utils/concurrent/AbstractFuture.java
index 83cd7d3f8b..0020e1a111 100644
--- a/src/java/org/apache/cassandra/utils/concurrent/AbstractFuture.java
+++ b/src/java/org/apache/cassandra/utils/concurrent/AbstractFuture.java
@@ -494,11 +494,11 @@ public abstract class AbstractFuture<V> implements
Future<V>
public String toString()
{
String description = description();
- String state = state();
+ String state = stateInfo();
return description == null ? state : (state + ' ' + description);
}
- private String state()
+ private String stateInfo()
{
Object result = this.result;
if (isSuccess(result))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]