Markus Jung created BVAL-229:
--------------------------------
Summary: 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
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)