[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.

Jim Tyrrell (JIRA) jira-events at lists.jboss.org
Tue Jan 22 16:32:22 EST 2013


Jim Tyrrell created FORGE-760:
---------------------------------

             Summary: 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


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