Update TreeReference.java

comments and tab corrections