@@ -89,7 +89,7 @@ public void nullifyTransientReferences(final Object[] values) {
8989		 * @return {@code null} if the argument is an unsaved entity; otherwise return the argument. 
9090		 */ 
9191		private  Object  nullifyTransientReferences (final  Object  value , final  String  propertyName , final  Type  type ) {
92- 			final  Object  returnedValue  = nullifyTransient (value , propertyName , type );
92+ 			final  Object  returnedValue  = nullifyTransient (  value , propertyName , type   );
9393			// value != returnedValue if either: 
9494			// 1) returnedValue was nullified (set to null); 
9595			// or 2) returnedValue was initialized, but not nullified. 
@@ -149,15 +149,15 @@ private Object nullifyEntityType(Object value, String propertyName, EntityType e
149149			else  {
150150				// If value is lazy, it may need to be initialized to 
151151				// determine if the value is nullifiable. 
152- 				final  Object  possiblyInitializedValue  = initializeIfNecessary (value , propertyName , entityType  );
152+ 				final  Object  possiblyInitializedValue  = initializeIfNecessary (  value , propertyName , entityType  );
153153				if  ( possiblyInitializedValue  == null  ) {
154154					// The uninitialized value was initialized to null 
155155					return  null ;
156156				}
157157				else  {
158158					// If the value is not nullifiable, make sure that the 
159159					// possibly initialized value is returned. 
160- 					return  isNullifiable (entityType .getAssociatedEntityName (), possiblyInitializedValue )
160+ 					return  isNullifiable (  entityType .getAssociatedEntityName (), possiblyInitializedValue   )
161161							? null 
162162							: possiblyInitializedValue ;
163163				}
@@ -199,15 +199,15 @@ private boolean initializationIsNecessary(Object value, Type type) {
199199
200200		/** 
201201		 * Determine if the object already exists in the database, 
202- 		 * using a "best guess"  
202+ 		 * using heuristics.  
203203		 * 
204204		 * @param entityName The name of the entity 
205205		 * @param object The entity instance 
206206		 */ 
207207		private  boolean  isNullifiable (final  String  entityName , Object  object )
208208				throws  HibernateException  {
209209			if  ( object  == UNFETCHED_PROPERTY  ) {
210- 				// this is the best we can do...  
210+ 				// this is the best we can do 
211211				return  false ;
212212			}
213213
@@ -244,10 +244,10 @@ private boolean isNullifiable(final String entityName, Object object)
244244					|| isDelete  && hasSelfReferentialForeignKeyBug ();
245245			}
246246
247- 			// See if the entity is already bound to this session, if not look at the  
248- 			// entity identifier and assume that  the entity is persistent if the  
249- 			// id is not "unsaved" (that is, we rely on foreign keys to keep  
250- 			// database integrity) 
247+ 			// See if the entity is already bound to this session;  
248+ 			// if it's not, look at  the entity identifier and assume  
249+ 			// that the entity is persistent if the id is not "unsaved"  
250+ 			// (that is, we rely on foreign keys to keep  database integrity) 
251251
252252			final  EntityEntry  entityEntry  = persistenceContext .getEntry ( object  );
253253			return  entityEntry  == null 
@@ -416,11 +416,11 @@ public static NonNullableTransientDependencies findNonNullableTransientEntities(
416416			boolean  isEarlyInsert ,
417417			SharedSessionContractImplementor  session ) {
418418		final  EntityPersister  persister  = session .getEntityPersister ( entityName , entity  );
419- 		final  Nullifier  nullifier  = new  Nullifier ( entity , false , isEarlyInsert , session , persister  );
419+ 		final  var  nullifier  = new  Nullifier ( entity , false , isEarlyInsert , session , persister  );
420420		final  String [] propertyNames  = persister .getPropertyNames ();
421421		final  Type [] types  = persister .getPropertyTypes ();
422422		final  boolean [] nullability  = persister .getPropertyNullability ();
423- 		final  NonNullableTransientDependencies  nonNullableTransientEntities  = new  NonNullableTransientDependencies ();
423+ 		final  var  nonNullableTransientEntities  = new  NonNullableTransientDependencies ();
424424		for  ( int  i  = 0 ; i  < types .length ; i ++ ) {
425425			collectNonNullableTransientEntities (
426426					nullifier ,
0 commit comments