[richfaces-issues] [JBoss JIRA] (RF-11752) Propagate UIDataAdaptor#processEvent(ComponentSystemEvent) to #processEvent(SystemEvent)

Lukáš Fryč (Created) (JIRA) jira-events at lists.jboss.org
Wed Nov 30 04:26:40 EST 2011


Propagate UIDataAdaptor#processEvent(ComponentSystemEvent) to #processEvent(SystemEvent)
----------------------------------------------------------------------------------------

                 Key: RF-11752
                 URL: https://issues.jboss.org/browse/RF-11752
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.1.0.CR2
            Reporter: Lukáš Fryč
            Assignee: Lukáš Fryč
             Fix For: 4.1.0.CR2


>From review: https://source.jboss.org/cru/REV-RF-5/#c170

{quote}
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.
{quote}

--
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-issues mailing list