Integer.valueOf(selectedOidString) : ((Advisory) advisories.get(0)).getIdInternal();
Integer.valueOf(selectedOidString) : getIdInternal(advisories.get(0));
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws FenixActionException, FenixFilterException {        final Person person = getLoggedPerson(request);    	final List advisories = new ArrayList(person.getAdvisories());    	Collections.sort(advisories, new ReverseComparator(new BeanComparator("created")));    	request.setAttribute(SessionConstants.LIST_ADVISORY, advisories);    	if (!advisories.isEmpty()) {    		final String selectedOidString = request.getParameter("activeAdvisory");    		final Integer selectedOid = (selectedOidString != null) ?    				Integer.valueOf(selectedOidString) : ((Advisory) advisories.get(0)).getIdInternal();    		request.setAttribute("activeAdvisory", selectedOid);    	}        addStudentNotifications(person, advisories);        return mapping.findForward("ShowWelcomePage");    }