private void populateLeadConsforSpecTree() { LeadConsultantForSpecialtyConfigVoCollection leadConsCollection=domain.listLeadConsultantForSpecialty(); if (leadConsCollection == null) return; for (int i = 0; i < leadConsCollection.size(); i++) { LeadConsultantForSpecialtyConfigVo leadCons = leadConsCollection.get(i); TreeNode nodeSpecialty = form.treLeadCons().getNodeByValue(leadCons.getSpecialty()); if (nodeSpecialty != null) { addLeadConsultantToSpecialty(nodeSpecialty, leadCons); } } }