cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: remove unbound method template parm
Date Mon, 21 Jul 2014 21:50:57 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 453292f3c -> 19b7d56fe


remove unbound method template parm


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

Branch: refs/heads/trunk
Commit: 19b7d56fece687b108e1b6ee024e0f09592a529e
Parents: 453292f
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Mon Jul 21 17:46:45 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Mon Jul 21 17:46:45 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/19b7d56f/src/java/org/apache/cassandra/metrics/KeyspaceMetrics.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/metrics/KeyspaceMetrics.java b/src/java/org/apache/cassandra/metrics/KeyspaceMetrics.java
index 92fabf1..9469a9c 100644
--- a/src/java/org/apache/cassandra/metrics/KeyspaceMetrics.java
+++ b/src/java/org/apache/cassandra/metrics/KeyspaceMetrics.java
@@ -223,7 +223,7 @@ public class KeyspaceMetrics
      * @param MetricValue 
      * @return Gauge&gt;Long> that computes sum of MetricValue.getValue()
      */
-    private <T extends Number> Gauge<Long> createKeyspaceGauge(String name, final
MetricValue extractor)
+    private Gauge<Long> createKeyspaceGauge(String name, final MetricValue extractor)
     {
         allMetrics.add(name);
         return Metrics.newGauge(factory.createMetricName(name), new Gauge<Long>()


Mime
View raw message