From 32ee43cfe74ec3e804f9c09d02fc86be59b2abe6 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 16 Feb 2022 06:48:18 -0600 Subject: [PATCH] Added missing space per code-style Added missing space per code-style --- .../sql/results/graph/entity/AbstractEntityInitializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java b/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java index 54614364e1..be27e8f71d 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java @@ -484,7 +484,7 @@ public abstract class AbstractEntityInitializer extends AbstractFetchParentAcces final EntityEntry entry = session.getPersistenceContextInternal().getEntry( this.entityInstance ); if ( entry != null && entry.getLockMode().lessThan( lockMode ) ) { //we only check the version when _upgrading_ lock modes - if ( versionAssembler != null && entry.getLockMode() != LockMode.NONE) { + if ( versionAssembler != null && entry.getLockMode() != LockMode.NONE ) { checkVersion( entry, rowProcessingState ); } //we need to upgrade the lock mode to the mode requested