[forge-issues] [JBoss JIRA] (FORGE-449) View screen doesn't cope with Integer/int types

Richard Kennard (JIRA) jira-events at lists.jboss.org
Tue Jan 24 18:30:18 EST 2012


    [ https://issues.jboss.org/browse/FORGE-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661583#comment-12661583 ] 

Richard Kennard commented on FORGE-449:
---------------------------------------

This appears to be a regression in the JavaParser API. Specifically, method.getQualifiedReturnType() seems to have started qualifying primitive types? It returns, say, 'com.test.domain.int'.
                
> View screen doesn't cope with Integer/int types
> -----------------------------------------------
>
>                 Key: FORGE-449
>                 URL: https://issues.jboss.org/browse/FORGE-449
>             Project: Forge
>          Issue Type: Bug
>          Components: Scaffold
>            Reporter: Pete Muir
>            Assignee: Richard Kennard
>
> Given
> {code:java}
>     private Integer capacity;
>     public Integer getCapacity() {
>         return capacity;
>     }
>     public void setCapacity(Integer capacity) {
>         this.capacity = capacity;
>     }
> {code}
> The capacity is displayed fine in tables, but is missing on the detail screens. Looking at the source, no binding is generated.

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