This is an automated email from the ASF dual-hosted git repository.

brandonwilliams 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 6e27e8b  Fix errant deprecation
6e27e8b is described below

commit 6e27e8bd4cbff75f3066bfd7f80956f39c29c357
Author: Brandon Williams <[email protected]>
AuthorDate: Tue Dec 15 11:54:28 2020 -0600

    Fix errant deprecation
---
 src/java/org/apache/cassandra/service/StorageService.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/java/org/apache/cassandra/service/StorageService.java 
b/src/java/org/apache/cassandra/service/StorageService.java
index 90a0b89..8aaf9ab 100644
--- a/src/java/org/apache/cassandra/service/StorageService.java
+++ b/src/java/org/apache/cassandra/service/StorageService.java
@@ -3324,24 +3324,23 @@ public class StorageService extends 
NotificationBroadcasterSupport implements IE
         return endpoints;
     }
 
-
+    @Deprecated
     public List<String> getJoiningNodes()
     {
         return stringify(tokenMetadata.getBootstrapTokens().valueSet(), false);
     }
 
-    @Deprecated
     public List<String> getJoiningNodesWithPort()
     {
         return stringify(tokenMetadata.getBootstrapTokens().valueSet(), true);
     }
 
+    @Deprecated
     public List<String> getLiveNodes()
     {
         return stringify(Gossiper.instance.getLiveMembers(), false);
     }
 
-    @Deprecated
     public List<String> getLiveNodesWithPort()
     {
         return stringify(Gossiper.instance.getLiveMembers(), true);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to