cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sn...@apache.org
Subject cassandra git commit: Ninja fix exception message
Date Thu, 02 Jul 2015 12:07:16 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 8c8103cae -> ee6fb19ee


Ninja fix exception message

patch by Branimir Lambov; reviewed by Robert Stupp


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

Branch: refs/heads/trunk
Commit: ee6fb19eebd03fb0da019fd7b28574a920e60ad4
Parents: 8c8103c
Author: Branimir Lambov <branimir.lambov@datastax.com>
Authored: Thu Jul 2 19:06:29 2015 +0700
Committer: Robert Stupp <snazy@snazy.de>
Committed: Thu Jul 2 19:06:29 2015 +0700

----------------------------------------------------------------------
 .../org/apache/cassandra/dht/tokenallocator/TokenAllocation.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ee6fb19e/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java b/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java
index a357cb4..f8a17dc 100644
--- a/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java
+++ b/src/java/org/apache/cassandra/dht/tokenallocator/TokenAllocation.java
@@ -252,8 +252,8 @@ public class TokenAllocation
         }
         else
             throw new ConfigurationException(
-                                            String.format("Token allocation failed: the number
of racks %d in datacentre %s is lower than its replication factor %d.",
-                                                          replicas, dc, racks));
+                    String.format("Token allocation failed: the number of racks %d in datacenter
%s is lower than its replication factor %d.",
+                                  racks, dc, replicas));
     }
 }
 


Mime
View raw message