Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07E3318D17 for ; Thu, 2 Jul 2015 12:07:17 +0000 (UTC) Received: (qmail 68921 invoked by uid 500); 2 Jul 2015 12:07:16 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 68886 invoked by uid 500); 2 Jul 2015 12:07:16 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 68875 invoked by uid 99); 2 Jul 2015 12:07:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2015 12:07:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id ABECBE364C; Thu, 2 Jul 2015 12:07:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: snazy@apache.org To: commits@cassandra.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cassandra git commit: Ninja fix exception message Date: Thu, 2 Jul 2015 12:07:16 +0000 (UTC) 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 Authored: Thu Jul 2 19:06:29 2015 +0700 Committer: Robert Stupp 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)); } }