[forge-issues] [JBoss JIRA] (FORGE-760) When generating new member variables it would be nice if the toString method updated include the member variable name.

George Gastaldi (JIRA) jira-events at lists.jboss.org
Tue Jan 22 16:39:21 EST 2013


     [ https://issues.jboss.org/browse/FORGE-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi updated FORGE-760:
----------------------------------

    Labels: starter  (was: )

    
> When generating new member variables it would be nice if the toString method updated include the member variable name.
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FORGE-760
>                 URL: https://issues.jboss.org/browse/FORGE-760
>             Project: Forge
>          Issue Type: Feature Request
>            Reporter: Jim Tyrrell
>              Labels: starter
>
> Current source code generated looks like this:
> if (name != null && !name.trim().isEmpty())
>          result += name;
>       if (description != null && !description.trim().isEmpty())
>          result += " " + description;
> If it can look like this, it would be much better for end user experience:
> if (name != null && !name.trim().isEmpty())
>          result += "name: " + name;
>       if (description != null && !description.trim().isEmpty())
>          result += ", description: " + description;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list