[
https://issues.apache.org/jira/browse/BVAL-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859328#action_12859328
]
Simone Tripodi commented on BVAL-20:
------------------------------------
Good catch Carlos, gracias :)
Please keep in mind that at 90% I could be wrong, but: what about using
Set<Class<?>> classSequence = new HashSet<Class<?>>() instead of List<Class<?>>
classSequence = new ArrayList<Class<?>>() ?
AFAIK it should improve the contains() method performances.
Any suggestion?
> When building a MetaBean, the full tree of subclasses/interfaces must be
> considered
> -----------------------------------------------------------------------------------
>
> Key: BVAL-20
> URL: https://issues.apache.org/jira/browse/BVAL-20
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Assignee: Simone Tripodi
> Attachments: FullHierarchyTraversal.patch
>
>
> Currently, only subclasses and interfaces of the original class are
> traversed. I attach a fix that traverses the full hierarchy tree.
> 3 more tests in the TCK pass with it applied.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.