Update BranchSwitch.java