[ 
https://issues.apache.org/jira/browse/JS2-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Sean Taylor reassigned JS2-632:
-------------------------------------

    Assignee: David Sean Taylor

> PersistenceBrokerPortletEntityAccess patch to better support other 
> PreferenceSet implementations
> ------------------------------------------------------------------------------------------------
>
>                 Key: JS2-632
>                 URL: https://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
>         Assigned To: David Sean Taylor
>            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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to