Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-760

When generating new member variables it would be nice if the toString method updated include the member variable name.

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.0.Final
    • Fix Version/s: 1.2.1.Final
    • Component/s: None
    • Labels:

      Description

      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;

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                jtyrrell Jim Tyrrell
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: