@@ -287,7 +287,7 @@ class JsonMissing : JsonValue() {
287
287
override fun serialize (
288
288
value : JsonMissing ,
289
289
generator : JsonGenerator ,
290
- provider : SerializerProvider
290
+ provider : SerializerProvider ,
291
291
) {
292
292
throw RuntimeException (" JsonMissing cannot be serialized" )
293
293
}
@@ -422,10 +422,7 @@ private constructor(
422
422
}
423
423
424
424
@JacksonAnnotationsInside
425
- @JsonInclude(
426
- JsonInclude .Include .CUSTOM ,
427
- valueFilter = JsonField .IsMissing ::class ,
428
- )
425
+ @JsonInclude(JsonInclude .Include .CUSTOM , valueFilter = JsonField .IsMissing ::class )
429
426
annotation class ExcludeMissing
430
427
431
428
@JacksonAnnotationsInside
@@ -434,7 +431,7 @@ annotation class ExcludeMissing
434
431
isGetterVisibility = Visibility .NONE ,
435
432
setterVisibility = Visibility .NONE ,
436
433
creatorVisibility = Visibility .NONE ,
437
- fieldVisibility = Visibility .NONE
434
+ fieldVisibility = Visibility .NONE ,
438
435
)
439
436
annotation class NoAutoDetect
440
437
@@ -443,7 +440,7 @@ internal constructor(
443
440
val name: String ,
444
441
val value: T ,
445
442
val contentType: ContentType ,
446
- val filename: String? = null
443
+ val filename: String? = null ,
447
444
) {
448
445
449
446
private var hashCode: Int = 0
@@ -462,7 +459,7 @@ internal constructor(
462
459
is Long -> value
463
460
is Double -> value
464
461
else -> value?.hashCode()
465
- }
462
+ },
466
463
)
467
464
}
468
465
return hashCode
@@ -496,7 +493,7 @@ internal constructor(
496
493
internal fun fromString (
497
494
name : String ,
498
495
value : String ,
499
- contentType : ContentType
496
+ contentType : ContentType ,
500
497
): MultipartFormValue <String > = MultipartFormValue (name, value, contentType)
501
498
502
499
internal fun fromBoolean (
@@ -520,14 +517,14 @@ internal constructor(
520
517
internal fun <T : Enum > fromEnum (
521
518
name : String ,
522
519
value : T ,
523
- contentType : ContentType
520
+ contentType : ContentType ,
524
521
): MultipartFormValue <T > = MultipartFormValue (name, value, contentType)
525
522
526
523
internal fun fromByteArray (
527
524
name : String ,
528
525
value : ByteArray ,
529
526
contentType : ContentType ,
530
- filename : String? = null
527
+ filename : String? = null,
531
528
): MultipartFormValue <ByteArray > = MultipartFormValue (name, value, contentType, filename)
532
529
}
533
530
}
0 commit comments