[richfaces-planning-issues] [JBoss JIRA] (RFPL-1876) Delegate UIDataAdaptor#processEvent(ComponentSystemEvent) to #processEvent(SystemEvent)
Fisheye JIRA Integration (Created) (JIRA)
jira-events at lists.jboss.org
Wed Nov 30 04:22:41 EST 2011
Delegate UIDataAdaptor#processEvent(ComponentSystemEvent) to #processEvent(SystemEvent)
---------------------------------------------------------------------------------------
Key: RFPL-1876
URL: https://issues.jboss.org/browse/RFPL-1876
Project: RichFaces Planning
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Affects Versions: 4.1.0.CR1
Reporter: Fisheye JIRA Integration
Fix For: 4.1.0.CR2
Created by Lukáš Fryč from Crucible comment on UIDataAdaptor.java line 1438 https://source.jboss.org/cru/REV-RF-5#c170 :
Note that this {{processEvent(SystemEvent)}} method has same signature as {{processEvent(ComponentSystemEvent)}} method above.
Both needs to implemented in order to implement interfaces, but since {{ComponentSystemEvent}} class extends {{SystemEvent}},
it may be safer to delegate from {{processEvent(ComponentSystemEvent)}} to {{processEvent(SystemEvent)}}
and then check for identity of event ({{event instanceof ComponentSystemEvent}}), otherwise, some JDK may fail to call correct method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-planning-issues
mailing list