Repository: cassandra Updated Branches: refs/heads/trunk 2093270c7 -> 453292f3c
no need to enforce case, when using equalsIgnoreCase Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/453292f3 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/453292f3 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/453292f3 Branch: refs/heads/trunk Commit: 453292f3c6a443aed72a4b53203f1a46b26d9aaf Parents: 2093270 Author: Dave Brosius <dbros...@mebigfatguy.com> Authored: Mon Jul 21 17:41:43 2014 -0400 Committer: Dave Brosius <dbros...@mebigfatguy.com> Committed: Mon Jul 21 17:41:43 2014 -0400 ---------------------------------------------------------------------- tools/stress/src/org/apache/cassandra/stress/StressProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/453292f3/tools/stress/src/org/apache/cassandra/stress/StressProfile.java ---------------------------------------------------------------------- diff --git a/tools/stress/src/org/apache/cassandra/stress/StressProfile.java b/tools/stress/src/org/apache/cassandra/stress/StressProfile.java index 13f26a2..8037ba5 100644 --- a/tools/stress/src/org/apache/cassandra/stress/StressProfile.java +++ b/tools/stress/src/org/apache/cassandra/stress/StressProfile.java @@ -492,7 +492,7 @@ public class StressProfile implements Serializable while (iter.hasNext()) { Map.Entry<String, V> e = iter.next(); - if (!e.getKey().toLowerCase().equalsIgnoreCase(e.getKey())) + if (!e.getKey().equalsIgnoreCase(e.getKey())) { reinsert.add(e); iter.remove();