[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5850) Consider calling findModified from findDirty
Tobias Bergman (JIRA)
noreply at atlassian.com
Tue Jan 18 09:12:05 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39681#action_39681 ]
Tobias Bergman commented on HHH-5850:
-------------------------------------
Hibernate version 3.6-Final
> Consider calling findModified from findDirty
> --------------------------------------------
>
> Key: HHH-5850
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5850
> Project: Hibernate Core
> Issue Type: Improvement
> 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