You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2014/02/19 03:44:13 UTC
git commit: no need for toLowerCase() and equalsIgnoreCase() at the
same time
Repository: cassandra
Updated Branches:
refs/heads/cassandra-2.0 ad3a4f824 -> e67a0a981
no need for toLowerCase() and equalsIgnoreCase() at the same time
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/e67a0a98
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/e67a0a98
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/e67a0a98
Branch: refs/heads/cassandra-2.0
Commit: e67a0a9819c7cd4facfb4448eea78a29b44d4cf5
Parents: ad3a4f8
Author: Dave Brosius <db...@mebigfatguy.com>
Authored: Tue Feb 18 21:43:40 2014 -0500
Committer: Dave Brosius <db...@mebigfatguy.com>
Committed: Tue Feb 18 21:43:40 2014 -0500
----------------------------------------------------------------------
src/java/org/apache/cassandra/config/Config.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/e67a0a98/src/java/org/apache/cassandra/config/Config.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java
index ceb8df0..876770c 100644
--- a/src/java/org/apache/cassandra/config/Config.java
+++ b/src/java/org/apache/cassandra/config/Config.java
@@ -224,11 +224,11 @@ public class Config
{
if (hinted_handoff_enabled != null && !hinted_handoff_enabled.isEmpty())
{
- if (hinted_handoff_enabled.toLowerCase().equalsIgnoreCase("true"))
+ if (hinted_handoff_enabled.equalsIgnoreCase("true"))
{
hinted_handoff_enabled_global = true;
}
- else if (hinted_handoff_enabled.toLowerCase().equalsIgnoreCase("false"))
+ else if (hinted_handoff_enabled.equalsIgnoreCase("false"))
{
hinted_handoff_enabled_global = false;
}