[forge-issues] [JBoss JIRA] (FORGE-995) The generated hashcode() and equals() methods should not reference the hardcoded 'id' field

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Fri Jul 5 20:44:20 EDT 2013


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

Vineet Reynolds updated FORGE-995:
----------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/forge/java-parser/pull/2


This is an API breaking change due to the introduction of a new parameter in the method.

The new implementation does away with the hardcoded field. It also generates equals and hashcode methods that are closer to the typically generated ones in IDEs.
                
> The generated hashcode() and equals() methods should not reference the hardcoded 'id' field
> -------------------------------------------------------------------------------------------
>
>                 Key: FORGE-995
>                 URL: https://issues.jboss.org/browse/FORGE-995
>             Project: Forge
>          Issue Type: Enhancement
>          Components: Parsers / File Manipulation
>            Reporter: Vineet Reynolds
>            Priority: Minor
>
> The field name(s) should be provided as a parameter

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