From a2e3c582579fb6fad078a8b5a5476a22a302022c Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Wed, 7 Jul 2021 16:41:59 +0200 Subject: [PATCH] Fix a typo --- .../query/sqm/sql/BaseSqmToSqlAstConverter.java | 2 +- .../test/ops/MergeManagedAndCopiesAllowedTest.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java b/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java index d05a2bd250..626ebe42c2 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java +++ b/hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java @@ -2125,7 +2125,7 @@ public abstract class BaseSqmToSqlAstConverter extends Base consumeExplicitJoins( sqmJoin, tableGroupJoin.getJoinedGroup() ); consumeReusablePaths( sqmJoin, tableGroupJoin.getJoinedGroup() ); - // add any additional join restrictionsHbmResultSetMappingDescriptor.java + // add any additional join restrictions if ( sqmJoin.getJoinPredicate() != null ) { tableGroupJoin.applyPredicate( (Predicate) sqmJoin.getJoinPredicate().accept( this ) diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/ops/MergeManagedAndCopiesAllowedTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/ops/MergeManagedAndCopiesAllowedTest.java index ecb5bd2bb5..843ca4c055 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/ops/MergeManagedAndCopiesAllowedTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/ops/MergeManagedAndCopiesAllowedTest.java @@ -32,12 +32,12 @@ import static org.hamcrest.MatcherAssert.assertThat; /** * A 1 ------------> 1 B 1 ----------> 1 C - * 1 1 - * | | - * | | - * V V - * 1 N - * D 1------------>N E + * 1 1 + * | | + * | | + * V V + * 1 N + * D 1------------>N E * * @author Gail Badner */