notification-portlet-webapp/src/main/java/org/jasig/portlet/notice/action/favorite/FavoriteAction.java
Set<String> getFavoriteNotices(final PortletRequest req) {

        final HashSet<String> rslt = new HashSet<String>();

        final PortletPreferences prefs = req.getPreferences();
        final String[] ids = prefs.getValues(FAVORITE_NOTIFICATION_IDS_PREFERENCE, new String[0]);

        for (int i=0; i < ids.length; i++) {
            rslt.add(ids[i]);
        }
        return rslt;

    }
Set<String> getFavoriteNotices(final PortletRequest req) {

        final HashSet<String> rslt = new HashSet<String>();

        final PortletPreferences prefs = req.getPreferences();
        final String[] ids = prefs.getValues(FAVORITE_NOTIFICATION_IDS_PREFERENCE, new String[0]);

        for (int i=0; i < ids.length; i++) {
            rslt.add(ids[i]);
        }
        return rslt;

    }
Set < String > getFavoriteNotices ( final PortletRequest req ) { final HashSet < String > rslt = new HashSet < String > ( ) ; final PortletPreferences prefs = req . getPreferences ( ) ; final String [ ] ids = prefs . getValues ( FAVORITE_NOTIFICATION_IDS_PREFERENCE , new String [ 0 ] ) ; for ( int i = 0 ; i < ids . length ; i ++ ) { rslt . add ( ids [ i ] ) ; } return rslt ; }
/* package-private
/ * package - private