HHH-17671 - Fix issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
5b8f326839
commit
7da31dfd6d
|
@ -63,12 +63,6 @@ public abstract class AbstractSqmPath<T> extends AbstractSqmExpression<T> implem
|
||||||
protected void copyTo(AbstractSqmPath<T> target, SqmCopyContext context) {
|
protected void copyTo(AbstractSqmPath<T> target, SqmCopyContext context) {
|
||||||
assert navigablePathsMatch( target );
|
assert navigablePathsMatch( target );
|
||||||
super.copyTo( target, context );
|
super.copyTo( target, context );
|
||||||
if ( reusablePaths != null ) {
|
|
||||||
target.reusablePaths = new HashMap<>( reusablePaths.size() );
|
|
||||||
for ( Map.Entry<String, SqmPath<?>> entry : reusablePaths.entrySet() ) {
|
|
||||||
target.reusablePaths.put( entry.getKey(), entry.getValue().copy( context ) );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// meant for assertions only
|
// meant for assertions only
|
||||||
|
|
Loading…
Reference in New Issue