You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Carlos Vara (JIRA)" <ji...@apache.org> on 2010/05/04 17:49:02 UTC
[jira] Created: (BVAL-36) Improve @ReportAsSingleValidation
implementation
Improve @ReportAsSingleValidation implementation
------------------------------------------------
Key: BVAL-36
URL: https://issues.apache.org/jira/browse/BVAL-36
Project: BeanValidation
Issue Type: Bug
Components: jsr303
Affects Versions: 0.1-incubating
Reporter: Carlos Vara
Current implementation works quite well, but the validation context must be restored before adding the errors so that the reported violations have the correct descriptors.
7 more tests pass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BVAL-36) Improve @ReportAsSingleValidation
implementation
Posted by "Carlos Vara (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BVAL-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863886#action_12863886 ]
Carlos Vara commented on BVAL-36:
---------------------------------
Nice catch there, not only faster but it also is a cleaner way of getting an empty list.
> Improve @ReportAsSingleValidation implementation
> ------------------------------------------------
>
> Key: BVAL-36
> URL: https://issues.apache.org/jira/browse/BVAL-36
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Fix For: 0.1-incubating
>
> Attachments: bval-jsr303-36.patch
>
>
> Current implementation works quite well, but the validation context must be restored before adding the errors so that the reported violations have the correct descriptors.
> 7 more tests pass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BVAL-36) Improve @ReportAsSingleValidation
implementation
Posted by "Roman Stumm (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BVAL-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Stumm resolved BVAL-36.
-----------------------------
Fix Version/s: 0.1-incubating
Resolution: Fixed
only a little optimization from my side:
in ConstraintValidation.getConstraintValidatorClasses: return Collections.emptyList(); instead of a new ArrayList() in the null-case
7 tests with this patch fixed, very nice!! only 50 more that are failing.
> Improve @ReportAsSingleValidation implementation
> ------------------------------------------------
>
> Key: BVAL-36
> URL: https://issues.apache.org/jira/browse/BVAL-36
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Fix For: 0.1-incubating
>
> Attachments: bval-jsr303-36.patch
>
>
> Current implementation works quite well, but the validation context must be restored before adding the errors so that the reported violations have the correct descriptors.
> 7 more tests pass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BVAL-36) Improve @ReportAsSingleValidation
implementation
Posted by "Carlos Vara (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BVAL-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Vara updated BVAL-36:
----------------------------
Attachment: bval-jsr303-36.patch
Patch and 1 extra test.
> Improve @ReportAsSingleValidation implementation
> ------------------------------------------------
>
> Key: BVAL-36
> URL: https://issues.apache.org/jira/browse/BVAL-36
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Attachments: bval-jsr303-36.patch
>
>
> Current implementation works quite well, but the validation context must be restored before adding the errors so that the reported violations have the correct descriptors.
> 7 more tests pass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.