@@ -80,7 +80,7 @@ public class MappingJdbcConverter extends MappingRelationalConverter implements
8080 * {@link #MappingJdbcConverter(RelationalMappingContext, RelationResolver, CustomConversions, JdbcTypeFactory)}
8181 * (MappingContext, RelationResolver, JdbcTypeFactory)} to convert arrays and large objects into JDBC-specific types.
8282 *
83- * @param context must not be {@literal null}.
83+ * @param context must not be {@literal null}.
8484 * @param relationResolver used to fetch additional relations from the database. Must not be {@literal null}.
8585 */
8686 public MappingJdbcConverter (RelationalMappingContext context , RelationResolver relationResolver ) {
@@ -98,12 +98,12 @@ public MappingJdbcConverter(RelationalMappingContext context, RelationResolver r
9898 /**
9999 * Creates a new {@link MappingJdbcConverter} given {@link MappingContext}.
100100 *
101- * @param context must not be {@literal null}.
101+ * @param context must not be {@literal null}.
102102 * @param relationResolver used to fetch additional relations from the database. Must not be {@literal null}.
103- * @param typeFactory must not be {@literal null}
103+ * @param typeFactory must not be {@literal null}
104104 */
105105 public MappingJdbcConverter (RelationalMappingContext context , RelationResolver relationResolver ,
106- CustomConversions conversions , JdbcTypeFactory typeFactory ) {
106+ CustomConversions conversions , JdbcTypeFactory typeFactory ) {
107107
108108 super (context , conversions );
109109
@@ -258,18 +258,18 @@ public JdbcValue writeJdbcValue(@Nullable Object value, TypeInformation<?> colum
258258
259259 if (convertedValue .getClass ().isArray ()) {
260260
261- if (componentType != byte .class && componentType != Byte .class ) {
261+ if (componentType != byte .class && componentType != Byte .class ) {
262262
263- Object [] objectArray = requireObjectArray (convertedValue );
264- return JdbcValue .of (typeFactory .createArray (objectArray ), JDBCType .ARRAY );
265- }
263+ Object [] objectArray = requireObjectArray (convertedValue );
264+ return JdbcValue .of (typeFactory .createArray (objectArray ), JDBCType .ARRAY );
265+ }
266266
267- if (componentType == Byte .class ) {
268- convertedValue = ArrayUtils .toPrimitive ((Byte []) convertedValue );
269- }
267+ if (componentType == Byte .class ) {
268+ convertedValue = ArrayUtils .toPrimitive ((Byte []) convertedValue );
269+ }
270270
271- return JdbcValue .of (convertedValue , JDBCType .BINARY );
272- }
271+ return JdbcValue .of (convertedValue , JDBCType .BINARY );
272+ }
273273
274274 return JdbcValue .of (convertedValue , sqlType );
275275 }
@@ -306,7 +306,7 @@ public <R> R readAndResolve(TypeInformation<R> type, RowDocument source, Identif
306306
307307 @ Override
308308 protected RelationalPropertyValueProvider newValueProvider (RowDocumentAccessor documentAccessor ,
309- ValueExpressionEvaluator evaluator , ConversionContext context ) {
309+ ValueExpressionEvaluator evaluator , ConversionContext context ) {
310310
311311 if (context instanceof ResolvingConversionContext rcc ) {
312312
@@ -335,7 +335,7 @@ class ResolvingRelationalPropertyValueProvider implements RelationalPropertyValu
335335 private final Identifier identifier ;
336336
337337 private ResolvingRelationalPropertyValueProvider (AggregatePathValueProvider delegate , RowDocumentAccessor accessor ,
338- ResolvingConversionContext context , Identifier identifier ) {
338+ ResolvingConversionContext context , Identifier identifier ) {
339339
340340 AggregatePath path = context .aggregatePath ();
341341
@@ -344,15 +344,15 @@ private ResolvingRelationalPropertyValueProvider(AggregatePathValueProvider dele
344344 this .context = context ;
345345 this .identifier = path .isEntity ()
346346 ? potentiallyAppendIdentifier (identifier , path .getRequiredLeafEntity (),
347- property -> delegate .getValue (path .append (property )))
347+ property -> delegate .getValue (path .append (property )))
348348 : identifier ;
349349 }
350350
351351 /**
352352 * Conditionally append the identifier if the entity has an identifier property.
353353 */
354354 static Identifier potentiallyAppendIdentifier (Identifier base , RelationalPersistentEntity <?> entity ,
355- Function <RelationalPersistentProperty , Object > getter ) {
355+ Function <RelationalPersistentProperty , Object > getter ) {
356356
357357 if (entity .hasIdProperty ()) {
358358
@@ -481,7 +481,7 @@ public RelationalPropertyValueProvider withContext(ConversionContext context) {
481481
482482 return context == this .context ? this
483483 : new ResolvingRelationalPropertyValueProvider (delegate .withContext (context ), accessor ,
484- (ResolvingConversionContext ) context , identifier );
484+ (ResolvingConversionContext ) context , identifier );
485485 }
486486 }
487487
@@ -493,7 +493,7 @@ public RelationalPropertyValueProvider withContext(ConversionContext context) {
493493 * @param identifier
494494 */
495495 private record ResolvingConversionContext (ConversionContext delegate , AggregatePath aggregatePath ,
496- Identifier identifier ) implements ConversionContext {
496+ Identifier identifier ) implements ConversionContext {
497497
498498 @ Override
499499 public <S > S convert (Object source , TypeInformation <? extends S > typeHint ) {
0 commit comments