Eduardo Breijo created MYFACES-4233:
---------------------------------------

             Summary: Support generic return type on myfaces-builder-plugin
                 Key: MYFACES-4233
                 URL: https://issues.apache.org/jira/browse/MYFACES-4233
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-372
            Reporter: Eduardo Breijo


On the JIRA issue below, there was an issue with the 
_UIWebsocket.getEventNames() method where the generic <String> in the return 
type of the method was missing in the auto-generated file UIWebsocket.

 
//BEGIN CODE COPIED FROM javax.faces.component._UIWebsocket public 
java.util.Collection getEventNames()
 

JIRA issue: https://issues.apache.org/jira/browse/MYFACES-4232

 

To workaround this, the api/src/main/resources/META-INF/componentClass20.vm 
file was modified to actually generate the getEventNames() method with the 
correct return type. 

 

But I think we should fix this in the myfaces-builder-plugin, and then revert 
back the changes in the componentClass20.vm and 
javax.faces.component._UIWebsocket files.

 

I'm not familiar with the myfaces-builder-plugin, so any help here would be 
appreciated.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to