[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6791) tiny improvement, in favor of java auto-box instead of create new instance

Strong Liu (JIRA) noreply at atlassian.com
Wed Nov 2 02:17:22 EDT 2011


tiny improvement, in favor of java auto-box instead of create new instance
--------------------------------------------------------------------------

                 Key: HHH-6791
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6791
             Project: Hibernate Core
          Issue Type: Task
            Reporter: Strong Liu
            Assignee: Strong Liu


there are lots of legacy code which do not use auto box provided by jdk, but create new instances every time for each _Integer_, _Long_, _Short_ and so on.

although there are some arguments that saying auto box in some cases may worse than create new Instance, but with auto-box, we can get benefit from jdk improvement  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list