cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasobr...@apache.org
Subject cassandra git commit: ninja-remove unnecessary String.format
Date Thu, 06 Dec 2018 18:16:52 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk c7562d101 -> 82305d1c3


ninja-remove unnecessary String.format


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/82305d1c
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/82305d1c
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/82305d1c

Branch: refs/heads/trunk
Commit: 82305d1c3ef045ab96df6e7d8c6d0a2f33b14024
Parents: c7562d1
Author: Jason Brown <jasedbrown@gmail.com>
Authored: Thu Dec 6 10:16:02 2018 -0800
Committer: Jason Brown <jasedbrown@gmail.com>
Committed: Thu Dec 6 10:16:02 2018 -0800

----------------------------------------------------------------------
 .../org/apache/cassandra/locator/AbstractReplicationStrategy.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/82305d1c/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java b/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
index 874097d..5e60f7a 100644
--- a/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
+++ b/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
@@ -440,7 +440,7 @@ public abstract class AbstractReplicationStrategy
             if (rf.hasTransientReplicas())
             {
                 if (DatabaseDescriptor.getNumTokens() > 1)
-                    throw new ConfigurationException(String.format("Transient replication
is not supported with vnodes yet"));
+                    throw new ConfigurationException("Transient replication is not supported
with vnodes yet");
             }
         }
         catch (IllegalArgumentException e)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message