cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject [1/3] git commit: make constant, static
Date Sat, 13 Apr 2013 04:11:06 GMT
Updated Branches:
  refs/heads/cassandra-1.2 d7066f460 -> 95ff3bb5b


make constant, static


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

Branch: refs/heads/cassandra-1.2
Commit: ca63545887f283bc6b84b1d103674f4a532c5b5b
Parents: 8d6ed07
Author: Dave Brosius <dbrosius@apache.org>
Authored: Fri Apr 12 22:53:49 2013 -0400
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Fri Apr 12 22:53:49 2013 -0400

----------------------------------------------------------------------
 .../db/compaction/LeveledCompactionStrategy.java   |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ca635458/src/java/org/apache/cassandra/db/compaction/LeveledCompactionStrategy.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/compaction/LeveledCompactionStrategy.java b/src/java/org/apache/cassandra/db/compaction/LeveledCompactionStrategy.java
index 71d8871..38a00f2 100644
--- a/src/java/org/apache/cassandra/db/compaction/LeveledCompactionStrategy.java
+++ b/src/java/org/apache/cassandra/db/compaction/LeveledCompactionStrategy.java
@@ -48,9 +48,10 @@ public class LeveledCompactionStrategy extends AbstractCompactionStrategy
implem
 {
     private static final Logger logger = LoggerFactory.getLogger(LeveledCompactionStrategy.class);
 
+    private static final String SSTABLE_SIZE_OPTION = "sstable_size_in_mb";
+
     @VisibleForTesting
     final LeveledManifest manifest;
-    private final String SSTABLE_SIZE_OPTION = "sstable_size_in_mb";
     private final int maxSSTableSizeInMB;
     private final AtomicReference<LeveledCompactionTask> task = new AtomicReference<LeveledCompactionTask>();
 


Mime
View raw message