[forge-issues] [JBoss JIRA] (FORGE-2355) Using Java SE 7 Objects to generate equals and hashcode

Antonio Goncalves (JIRA) issues at jboss.org
Wed Jun 10 04:18:04 EDT 2015


Antonio Goncalves created FORGE-2355:
----------------------------------------

             Summary: Using Java SE 7 Objects to generate equals and hashcode
                 Key: FORGE-2355
                 URL: https://issues.jboss.org/browse/FORGE-2355
             Project: Forge
          Issue Type: Sub-task
          Components: Java EE
    Affects Versions: 2.16.1.Final
            Reporter: Antonio Goncalves
             Fix For: 2.x Future


At the moment, when generating a JPA Entity, the equals/hashcode method good old Java SE 6 code (if and so on). It would be better to use the [Objects|https://docs.oracle.com/javase/7/docs/api/java/util/Objects.html] API to create those methods



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the forge-issues mailing list