Reference guide incorrect regarding DefaultTraversableResolver

Description

The reference documentation mentions:

Hibernate Validator provides two TraversableResolvers out of the box which will be enabled automatically depending on your environment. The first is the DefaultTraversableResolver which will always return true for isReachable() and isTraversable(). The second is the JPATraversableResolver which gets enabled when Hibernate Validator gets used in combination with JPA 2.

However, the implementation of DefaultTraversableResolver contains:

1 2 3 public DefaultTraversableResolver() { detectJPA(); }

It therefore always uses the JPATraversableResolver when JPA is detected.

Environment

None

Status

Assignee

Unassigned

Reporter

Bruno Christiaen

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

4.3.2.Final

Priority

Trivial