for (final Branch branch : getAreas()) { if (branchName.equals(branch.getName())) { return branch;
if (branchName != null) { for (final Branch branch : getAreas()) { if (branchName.equals(branch.getName())) { return branch; }
    public Branch getBranchByName(final String branchName) {	for (final Branch branch : getAreas()) {	    if (branchName.equals(branch.getName())) {		return branch;	    }	}	return null;    }