cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: make constructor private to respect factory pattern
Date Fri, 30 Sep 2016 04:36:14 GMT
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 <dbrosius@mebigfatguy.com>
Authored: Fri Sep 30 00:35:59 2016 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
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<String, String> ksAndCFName, ByteBuffer partitionKey,
ByteBuffer cellName)
+    private CounterCacheKey(Pair<String, String> ksAndCFName, ByteBuffer partitionKey,
ByteBuffer cellName)
     {
         super(ksAndCFName);
         this.partitionKey = ByteBufferUtil.getArray(partitionKey);


Mime
View raw message