Age age = new Age(user.getDateOfBirth());  String[] groupType = { IWMarathonConstants.GROUP_TYPE_RUN_GROUP }; try { Collection groups = getGroupBiz().getChildGroupsRecursive(distance, groupType, true);  Iterator groupsIter = groups.iterator(); while (groupsIter.hasNext()) { Group group = (Group) groupsIter.next(); if (group.getName().equals(getGroupName(age.getYears(), run, user.getGenderID()))) { return group; } } } catch (RemoteException re) { throw new IBORuntimeException(re); } return null;
return getAgeGroup(user, run, distance);
	private Group getAgeGroup(User user, Run run, Distance distance) {		Age age = new Age(user.getDateOfBirth());				String[] groupType = { IWMarathonConstants.GROUP_TYPE_RUN_GROUP };		try {			Collection groups = getGroupBiz().getChildGroupsRecursive(distance, groupType, true);						Iterator groupsIter = groups.iterator();			while (groupsIter.hasNext()) {				Group group = (Group) groupsIter.next();				if (group.getName().equals(getGroupName(age.getYears(), run, user.getGenderID()))) {					return group;				}			}		}		catch (RemoteException re) {			throw new IBORuntimeException(re);		}		return null;	}