You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Roman Stumm (JIRA)" <ji...@apache.org> on 2010/04/22 11:00:50 UTC
[jira] Resolved: (BVAL-21) ConstraintViolations set should not have
duplicates and should store ElementType and use it in equals()
[ https://issues.apache.org/jira/browse/BVAL-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Stumm resolved BVAL-21.
-----------------------------
Resolution: Fixed
merged patches and committed them together with another fix (BVAL-13)
> ConstraintViolations set should not have duplicates and should store ElementType and use it in equals()
> -------------------------------------------------------------------------------------------------------
>
> Key: BVAL-21
> URL: https://issues.apache.org/jira/browse/BVAL-21
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Assignee: Roman Stumm
> Attachments: bval-core.patch, bval-jsr303.patch
>
>
> The returning set of ConstraintViolations should not have duplicate entries, so equals must be defined in ConstraintViolationImpl.
> Also, two ConstraintViolations with all equal fields except the way they access the property should be considered different, so ConstraintViolationImpl should store the ElementType and compare it in the equals() method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.