HHH-17671 - Fix issue

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
Jan Schatteman 2024-01-31 00:19:49 +01:00 committed by Christian Beikov
parent 21d3ea4ea8
commit edf77774e3
1 changed files with 0 additions and 6 deletions

View File

@ -63,12 +63,6 @@ public abstract class AbstractSqmPath<T> extends AbstractSqmExpression<T> implem
protected void copyTo(AbstractSqmPath<T> target, SqmCopyContext context) {
assert navigablePathsMatch( target );
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