ENG-6419 Fixed tree structure checks so it passes on java 8
Merge pull request #1427 from VoltDB/ENG-6419

ENG-6419 Fixed tree structure checks so it passes on java 8