Update BranchClass.java

From Github