You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ra...@apache.org on 2017/11/13 22:11:35 UTC
[09/49] carbondata git commit: [Tests] Fix BTreeBlockFinderTest
variable mistake
[Tests] Fix BTreeBlockFinderTest variable mistake
There are some obvious spelling mistake leading to some variable unused, and it may change the unit test's meaning
This closes #1462
Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/f812e41c
Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/f812e41c
Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/f812e41c
Branch: refs/heads/fgdatamap
Commit: f812e41c5333ad54449d3b514becd0fddb9c5024
Parents: f209e8e
Author: lishuming <al...@126.com>
Authored: Thu Nov 2 23:47:05 2017 +0800
Committer: chenliang613 <ch...@huawei.com>
Committed: Sat Nov 4 15:29:34 2017 +0800
----------------------------------------------------------------------
.../core/datastore/impl/btree/BTreeBlockFinderTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/carbondata/blob/f812e41c/core/src/test/java/org/apache/carbondata/core/datastore/impl/btree/BTreeBlockFinderTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/carbondata/core/datastore/impl/btree/BTreeBlockFinderTest.java b/core/src/test/java/org/apache/carbondata/core/datastore/impl/btree/BTreeBlockFinderTest.java
index d6081a3..d874037 100644
--- a/core/src/test/java/org/apache/carbondata/core/datastore/impl/btree/BTreeBlockFinderTest.java
+++ b/core/src/test/java/org/apache/carbondata/core/datastore/impl/btree/BTreeBlockFinderTest.java
@@ -197,7 +197,7 @@ public class BTreeBlockFinderTest extends TestCase {
buffer1.put((byte) 1);
buffer1.putInt(i + 10);
buffer1.array();
- byte[] noDictionaryEndKey = buffer.array();
+ byte[] noDictionaryEndKey = buffer1.array();
DataFileFooter footer =
getFileFooter(startKey, endKey, noDictionaryStartKey, noDictionaryEndKey);
list.add(footer);
@@ -232,7 +232,7 @@ public class BTreeBlockFinderTest extends TestCase {
buffer1.putShort((short) 2);
buffer1.putInt(i + 10);
buffer1.array();
- byte[] noDictionaryEndKey = buffer.array();
+ byte[] noDictionaryEndKey = buffer1.array();
DataFileFooter footer =
getFileMatadataWithOnlyNoDictionaryKey(startKey, endKey, noDictionaryStartKey,
noDictionaryEndKey);
@@ -268,7 +268,7 @@ public class BTreeBlockFinderTest extends TestCase {
buffer1.put((byte) 1);
buffer1.putInt(i + 10);
buffer1.array();
- byte[] noDictionaryEndKey = buffer.array();
+ byte[] noDictionaryEndKey = buffer1.array();
DataFileFooter footer =
getFileFooterWithOnlyDictionaryKey(startKey, endKey, noDictionaryStartKey,
noDictionaryEndKey);