cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: SSTABLE_SIZE_OPTION constant s/b static
Date Wed, 05 Sep 2012 03:15:32 GMT
Updated Branches:
  refs/heads/trunk cf23bd0a0 -> 1e289fa0e


SSTABLE_SIZE_OPTION constant s/b static


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

Branch: refs/heads/trunk
Commit: 1e289fa0ebfc1e329e4a047d176d6c35d4939afc
Parents: cf23bd0
Author: Dave Brosius <dbrosius@apache.org>
Authored: Tue Sep 4 23:12:11 2012 -0400
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Tue Sep 4 23:12:11 2012 -0400

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/1e289fa0/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 d22902e..f6b0d6d 100644
--- a/src/java/org/apache/cassandra/db/compaction/LeveledCompactionStrategy.java
+++ b/src/java/org/apache/cassandra/db/compaction/LeveledCompactionStrategy.java
@@ -42,9 +42,9 @@ import org.apache.cassandra.notifications.SSTableListChangedNotification;
 public class LeveledCompactionStrategy extends AbstractCompactionStrategy implements INotificationConsumer
 {
     private static final Logger logger = LoggerFactory.getLogger(LeveledCompactionStrategy.class);
+    private static final String SSTABLE_SIZE_OPTION = "sstable_size_in_mb";
 
     private 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