[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-5850) Consider calling findModified from findDirty

Gail Badner (JIRA) noreply at atlassian.com
Tue Jan 18 13:33:05 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner updated HHH-5850:
-----------------------------

    Affects Version/s: 3.6.0

> Consider calling findModified from findDirty
> --------------------------------------------
>
>                 Key: HHH-5850
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5850
>             Project: Hibernate Core
>          Issue Type: Improvement
>    Affects Versions: 3.6.0
>            Reporter: Tobias Bergman
>
> The two methods AbstractEntityPersister.findModified() and AbstractEntityPersister.findDirty() seems to do exactly the same thing (code almost copy pasted, names differ). findModified calls TypeHelper.findModified() which is also a copy-pasted version of TypeHelper.findDirty().
> While the methods seems to do the same why not just call findDirty() from findModified() (which eliminates the copy pasted code).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list