Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AFEA4200BA0 for ; Fri, 30 Sep 2016 06:36:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AE7FE160AE4; Fri, 30 Sep 2016 04:36:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EDF18160AE3 for ; Fri, 30 Sep 2016 06:36:15 +0200 (CEST) Received: (qmail 76976 invoked by uid 500); 30 Sep 2016 04:36:15 -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 76964 invoked by uid 99); 30 Sep 2016 04:36:15 -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; Fri, 30 Sep 2016 04:36:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BDBC5DFC55; Fri, 30 Sep 2016 04:36:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dbrosius@apache.org To: commits@cassandra.apache.org Message-Id: <37a991fc455f455ca5904870c3bd11ab@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cassandra git commit: make constructor private to respect factory pattern Date: Fri, 30 Sep 2016 04:36:14 +0000 (UTC) archived-at: Fri, 30 Sep 2016 04:36:16 -0000 Repository: cassandra Updated Branches: refs/heads/trunk 7efe1ccc5 -> 1be5cc0db make constructor private to respect factory pattern Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/1be5cc0d Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/1be5cc0d Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/1be5cc0d Branch: refs/heads/trunk Commit: 1be5cc0dbdba3792a11ea22c63f83d3b2b76cb7b Parents: 7efe1cc Author: Dave Brosius Authored: Fri Sep 30 00:35:59 2016 -0400 Committer: Dave Brosius Committed: Fri Sep 30 00:35:59 2016 -0400 ---------------------------------------------------------------------- src/java/org/apache/cassandra/cache/CounterCacheKey.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/1be5cc0d/src/java/org/apache/cassandra/cache/CounterCacheKey.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/cache/CounterCacheKey.java b/src/java/org/apache/cassandra/cache/CounterCacheKey.java index 8b173bf..bee53d0 100644 --- a/src/java/org/apache/cassandra/cache/CounterCacheKey.java +++ b/src/java/org/apache/cassandra/cache/CounterCacheKey.java @@ -33,7 +33,7 @@ public final class CounterCacheKey extends CacheKey public final byte[] partitionKey; public final byte[] cellName; - public CounterCacheKey(Pair ksAndCFName, ByteBuffer partitionKey, ByteBuffer cellName) + private CounterCacheKey(Pair ksAndCFName, ByteBuffer partitionKey, ByteBuffer cellName) { super(ksAndCFName); this.partitionKey = ByteBufferUtil.getArray(partitionKey);