List<StreetLegBean> streetLegs = leg.getStreetLegs();
if (!CollectionsLibrary.isEmpty(streetLegs)) {
List<StreetLegV2Bean> streetLegBeans = new ArrayList<StreetLegV2Bean>();
for (StreetLegBean streetLeg : streetLegs) {
StreetLegV2Bean streetLegBean = getStreetLeg(streetLeg);
streetLegBeans.add(streetLegBean);
}
bean.setStreetLegs(streetLegBeans);
}