cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [1/2] git commit: Don't use _ as a reference
Date Fri, 12 Sep 2014 17:17:12 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 1963b7f03 -> 965f5227b


Don't use _ as a reference


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

Branch: refs/heads/trunk
Commit: 314b1f177063a314ccba219c4406ad6df529dc4a
Parents: e775254
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Fri Sep 12 12:16:47 2014 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Fri Sep 12 12:16:47 2014 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/stress/settings/OptionDistribution.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/314b1f17/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java
----------------------------------------------------------------------
diff --git a/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java
b/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java
index fd307e9..6bb55ed 100644
--- a/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java
+++ b/tools/stress/src/org/apache/cassandra/stress/settings/OptionDistribution.java
@@ -284,7 +284,7 @@ public class OptionDistribution extends Option
                 // over entire range, but this results in overly skewed distribution, so
take sqrt
                 final double scale = (max - min) / findBounds.inverseCumulativeProbability(1d
- Math.sqrt(1d/(max-min)));
                 return new QuantizedExtremeFactory(min, max, shape, scale, quantas);
-            } catch (Exception _)
+            } catch (Exception e)
             {
                 throw new IllegalArgumentException("Invalid parameter list for quantized
extreme (Weibull) distribution: " + params);
             }


Mime
View raw message