[prev in list] [next in list] [prev in thread] [next in thread]
List: cassandra-commits
Subject: git commit: Fix typo
From: slebresne () apache ! org
Date: 2012-10-31 18:31:59
Message-ID: 20121031183159.8BB1951327 () tyr ! zones ! apache ! org
[Download RAW message or body]
Updated Branches:
refs/heads/trunk 6516eba92 -> 26dcb7d81
Fix typo
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/26dcb7d8
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/26dcb7d8
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/26dcb7d8
Branch: refs/heads/trunk
Commit: 26dcb7d81ff51e8a3fbf422c612e330ae2964e25
Parents: 6516eba
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Wed Oct 31 19:31:32 2012 +0100
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Wed Oct 31 19:31:48 2012 +0100
----------------------------------------------------------------------
.../cassandra/db/filter/SliceQueryFilter.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/26dcb7d8/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java \
b/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java index \
e045bb5..ae81f91 100644
--- a/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
+++ b/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
@@ -211,9 +211,10 @@ public class SliceQueryFilter implements IFilter
}
}
- for (ByteBuffer columnName : toRemove)
+ if (toRemote != null)
{
- cf.remove(columnName);
+ for (ByteBuffer columnName : toRemove)
+ cf.remove(columnName);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic