mirror of https://github.com/apache/cassandra
use .equals on objects
This commit is contained in:
parent
984fe8145f
commit
6d6a5e330b
|
|
@ -458,7 +458,7 @@ public class MerkleTreeTest
|
|||
{
|
||||
Integer depth = depthiter.next();
|
||||
byte[] hash = val;
|
||||
while (dstack.peek() == depth)
|
||||
while (depth.equals(dstack.peek()))
|
||||
{
|
||||
// consume the stack
|
||||
hash = Hashable.binaryHash(hstack.pop(), hash);
|
||||
|
|
|
|||
Loading…
Reference in New Issue