cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: make RestorableEWMA a static inner class
Date Fri, 02 May 2014 00:29:20 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 770e68dae -> 73ef82f38


make RestorableEWMA a static inner class


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

Branch: refs/heads/trunk
Commit: 73ef82f384ca9c95933cd92d0e389f2f0dff7ab8
Parents: 770e68d
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Thu May 1 20:28:26 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Thu May 1 20:28:26 2014 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/metrics/RestorableMeter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/73ef82f3/src/java/org/apache/cassandra/metrics/RestorableMeter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/metrics/RestorableMeter.java b/src/java/org/apache/cassandra/metrics/RestorableMeter.java
index 4df4665..c421618 100644
--- a/src/java/org/apache/cassandra/metrics/RestorableMeter.java
+++ b/src/java/org/apache/cassandra/metrics/RestorableMeter.java
@@ -144,7 +144,7 @@ public class RestorableMeter
         }
     }
 
-    class RestorableEWMA {
+    static class RestorableEWMA {
         private volatile boolean initialized = false;
         private volatile double rate = 0.0; // average rate in terms of events per nanosecond
 


Mime
View raw message