You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Markus Jung (Jira)" <ji...@apache.org> on 2026/08/05 12:08:00 UTC

[jira] [Resolved] (BVAL-229) Implement Path.length(), getNode(int), getRootNode(), getLeafNode() in PathImpl

     [ https://issues.apache.org/jira/browse/BVAL-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jung resolved BVAL-229.
------------------------------
    Resolution: Fixed

> Implement Path.length(), getNode(int), getRootNode(), getLeafNode() in PathImpl
> -------------------------------------------------------------------------------
>
>                 Key: BVAL-229
>                 URL: https://issues.apache.org/jira/browse/BVAL-229
>             Project: BVal
>          Issue Type: Improvement
>            Reporter: Markus Jung
>            Assignee: Markus Jung
>            Priority: Major
>             Fix For: 4.0.0
>
>
> validation 4.0 adds four default methods to jakarta.validation.Path
> *     int  length()
> *     Node getNode(int index)
> *     Node getRootNode()
> *     Node getLeafNode()
> While the default impl is sufficient it is iterating over all nodes, so overriding them for improved perfomance makes sense



--
This message was sent by Atlassian Jira
(v8.20.10#820010)