[forge-issues] [JBoss JIRA] (FORGE-2068) When creating a new field, updating toString should be optional

Antonio Goncalves (JIRA) issues at jboss.org
Mon Oct 13 07:19:35 EDT 2014


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

Antonio Goncalves reassigned FORGE-2068:
----------------------------------------

    Assignee: Antonio Goncalves


> When creating a new field, updating toString should be optional
> ---------------------------------------------------------------
>
>                 Key: FORGE-2068
>                 URL: https://issues.jboss.org/browse/FORGE-2068
>             Project: Forge
>          Issue Type: Sub-task
>          Components: Java EE
>    Affects Versions: 2.12.0.Final
>            Reporter: Antonio Goncalves
>            Assignee: Antonio Goncalves
>             Fix For: 2.x Future
>
>
> Today, when we create a new field to a Java class (or CDI bean...), the field is automatically added to the {{toString}} method. It would be good to have the option not to update it, by adding a {{--updateToString}} boolean parameter. 
> The following command create a class, adds two fields, one updating the toString, the other no :
> {code}
> java-new-class --named MyClass
> java-new-field --named defaultUpdatesToString
> java-new-field --named doesNotUpdateToString --updateToString false
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the forge-issues mailing list