Fixed scalastyle issue in TreePoint