We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e66bec commit 16c19e5Copy full SHA for 16c19e5
engine/src/main/java/org/hibernate/validator/internal/engine/path/PathImpl.java
@@ -353,7 +353,6 @@ private int buildHashCode() {
353
*/
354
private PathImpl(PathImpl path) {
355
this( path.nodeList );
356
- currentLeafNode = (NodeImpl) nodeList.get( nodeList.size() - 1 );
357
hashCode = path.hashCode;
358
}
359
@@ -365,6 +364,7 @@ private PathImpl() {
365
364
366
private PathImpl(List<Node> nodeList) {
367
this.nodeList = nodeList;
+ currentLeafNode = (NodeImpl) nodeList.get( nodeList.size() - 1 );
368
hashCode = -1;
369
nodeListRequiresCopy = true;
370
0 commit comments