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