use .equals on objects

This commit is contained in:
Dave Brosius 2013-07-28 21:12:24 -04:00
parent 984fe8145f
commit 6d6a5e330b
1 changed files with 1 additions and 1 deletions

View File

@ -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);