portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ethan Adams (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Updated: (JS2-632) PersistenceBrokerPortletEntityAccess patch to better support other PreferenceSet implementations
Date Tue, 19 Dec 2006 15:16:22 GMT
     [ http://issues.apache.org/jira/browse/JS2-632?page=all ]

Ethan Adams updated JS2-632:

    Attachment: PersistenceBrokerPortletEntityAccess.java.patch

> PersistenceBrokerPortletEntityAccess patch to better support other PreferenceSet implementations
> ------------------------------------------------------------------------------------------------
>                 Key: JS2-632
>                 URL: http://issues.apache.org/jira/browse/JS2-632
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Persistence and DAO, Portlet Entities and Preferences
>    Affects Versions: 2.1-dev
>         Environment: n/a
>            Reporter: Ethan Adams
>            Priority: Minor
>         Attachments: PersistenceBrokerPortletEntityAccess.java.patch
> I have a special case where I want to use a PreferenceSet implementation other than PrefsPreferenceSetImpl.
 However the PersistenceBrokerPortletEntityAccess does unchecked casts of the PreferenceSet
objects that causes ClassCastExceptions.
> I've patched PersistenceBrokerPortletEntityAccess so that it checks if it is an instance
of PrefsPreferenceSetImpl before casting.  Thought this could be helpful in the future.
> Attaching patch

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message