38
38
import org .hibernate .validator .internal .engine .groups .Sequence ;
39
39
import org .hibernate .validator .internal .engine .groups .ValidationOrder ;
40
40
import org .hibernate .validator .internal .engine .groups .ValidationOrderGenerator ;
41
+ import org .hibernate .validator .internal .engine .path .ModifiableNode ;
41
42
import org .hibernate .validator .internal .engine .path .ModifiablePath ;
42
- import org .hibernate .validator .internal .engine .path .NodeImpl ;
43
43
import org .hibernate .validator .internal .engine .resolver .TraversableResolvers ;
44
44
import org .hibernate .validator .internal .engine .validationcontext .BaseBeanValidationContext ;
45
45
import org .hibernate .validator .internal .engine .validationcontext .ExecutableValidationContext ;
@@ -1195,7 +1195,7 @@ private <V> BeanValueContext<?, V> getValueContextForPropertyValidation(BaseBean
1195
1195
1196
1196
while ( propertyPathIter .hasNext () ) {
1197
1197
// cast is ok, since we are dealing with engine internal classes
1198
- NodeImpl propertyPathNode = (NodeImpl ) propertyPathIter .next ();
1198
+ ModifiableNode propertyPathNode = (ModifiableNode ) propertyPathIter .next ();
1199
1199
propertyMetaData = getBeanPropertyMetaData ( beanMetaData , propertyPathNode );
1200
1200
1201
1201
// if the property is not the leaf property, we set up the context for the next iteration
@@ -1214,7 +1214,7 @@ private <V> BeanValueContext<?, V> getValueContextForPropertyValidation(BaseBean
1214
1214
// if we are in the case of an iterable and we want to validate an element of this iterable, we have to get the
1215
1215
// element value
1216
1216
if ( propertyPathNode .isIterable () ) {
1217
- propertyPathNode = (NodeImpl ) propertyPathIter .next ();
1217
+ propertyPathNode = (ModifiableNode ) propertyPathIter .next ();
1218
1218
1219
1219
if ( propertyPathNode .getIndex () != null ) {
1220
1220
value = ReflectionHelper .getIndexedValue ( value , propertyPathNode .getIndex () );
@@ -1272,7 +1272,7 @@ private <V> BeanValueContext<?, V> getValueContextForValueValidation(Class<?> ro
1272
1272
1273
1273
while ( propertyPathIter .hasNext () ) {
1274
1274
// cast is ok, since we are dealing with engine internal classes
1275
- NodeImpl propertyPathNode = (NodeImpl ) propertyPathIter .next ();
1275
+ ModifiableNode propertyPathNode = (ModifiableNode ) propertyPathIter .next ();
1276
1276
beanMetaData = beanMetaDataManager .getBeanMetaData ( clazz );
1277
1277
propertyMetaData = getBeanPropertyMetaData ( beanMetaData , propertyPathNode );
1278
1278
@@ -1281,7 +1281,7 @@ private <V> BeanValueContext<?, V> getValueContextForValueValidation(Class<?> ro
1281
1281
// if we are in the case of an iterable and we want to validate an element of this iterable, we have to get the
1282
1282
// type from the parameterized type
1283
1283
if ( propertyPathNode .isIterable () ) {
1284
- propertyPathNode = (NodeImpl ) propertyPathIter .next ();
1284
+ propertyPathNode = (ModifiableNode ) propertyPathIter .next ();
1285
1285
1286
1286
clazz = ReflectionHelper .getClassFromType ( ReflectionHelper .getCollectionElementType ( propertyMetaData .getType () ) );
1287
1287
beanMetaData = beanMetaDataManager .getBeanMetaData ( clazz );
0 commit comments