[hibernate-issues] [Hibernate-JIRA] Resolved: (HV-181) Refactor ConstraintDescriptorImpl

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Jul 13 11:55:12 EDT 2009


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

Hardy Ferentschik resolved HV-181.
----------------------------------

    Resolution: Fixed

> Refactor ConstraintDescriptorImpl
> ---------------------------------
>
>                 Key: HV-181
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-181
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>             Fix For: 4.0.0.Beta2
>
>
> We should address two problems
> * thread safety. the sets and maps should be populated in temporary data structures and then assigned to the final instance variables. Since the variables are final we can guarantee that all threads see the same after instance creation.
> * At the moment the getter method create unmodifiable sets on each call. Really the unmodifiable sets should be created in the constructor.

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