cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject [1/3] git commit: Fix for missing filter type in 2.0 branch
Date Thu, 22 Aug 2013 02:33:52 GMT
Updated Branches:
  refs/heads/trunk 74492ef27 -> 2029fb2dc


Fix for missing filter type in 2.0 branch

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

Branch: refs/heads/trunk
Commit: 5774ecb4056fc70c52c23ed923a10d01d5fecf59
Parents: ed6a5b9
Author: Vijay Parthasarathy <vijay2win@gmail.com>
Authored: Wed Aug 21 19:32:26 2013 -0700
Committer: Vijay Parthasarathy <vijay2win@gmail.com>
Committed: Wed Aug 21 19:32:26 2013 -0700

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/utils/BloomFilterTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5774ecb4/test/unit/org/apache/cassandra/utils/BloomFilterTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/utils/BloomFilterTest.java b/test/unit/org/apache/cassandra/utils/BloomFilterTest.java
index 872cb05..feff193 100644
--- a/test/unit/org/apache/cassandra/utils/BloomFilterTest.java
+++ b/test/unit/org/apache/cassandra/utils/BloomFilterTest.java
@@ -38,7 +38,6 @@ import org.junit.Test;
 
 import org.apache.cassandra.io.util.DataOutputBuffer;
 import org.apache.cassandra.io.util.FileUtils;
-import org.apache.cassandra.utils.FilterFactory.Type;
 
 public class BloomFilterTest
 {
@@ -170,7 +169,7 @@ public class BloomFilterTest
         out.close();
         
         DataInputStream in = new DataInputStream(new FileInputStream(file));
-        BloomFilter filter2 = (BloomFilter) FilterFactory.deserialize(in, Type.MURMUR3, true);
+        BloomFilter filter2 = (BloomFilter) FilterFactory.deserialize(in, true);
         Assert.assertTrue(filter2.isPresent(test));
         FileUtils.closeQuietly(in);
     }


Mime
View raw message