@@ -49,7 +49,7 @@ public class KotlinModule private constructor(
4949 public val strictNullChecks : Boolean = StrictNullChecks .enabledByDefault,
5050 public val copySyntheticConstructorParameterAnnotations : Boolean =
5151 CopySyntheticConstructorParameterAnnotations .enabledByDefault,
52- public val useJavaDurationConversion : Boolean = UseJavaDurationConversion .enabledByDefault
52+ public val useJavaDurationConversion : Boolean = UseJavaDurationConversion .enabledByDefault,
5353) : SimpleModule(KotlinModule : :class.java.name, kogeraVersion) { // kogeraVersion is generated by building.
5454 private constructor (builder: Builder ) : this (
5555 builder.cacheSize,
@@ -59,12 +59,12 @@ public class KotlinModule private constructor(
5959 builder.isEnabled(SingletonSupport ),
6060 builder.isEnabled(StrictNullChecks ),
6161 builder.isEnabled(CopySyntheticConstructorParameterAnnotations ),
62- builder.isEnabled(UseJavaDurationConversion )
62+ builder.isEnabled(UseJavaDurationConversion ),
6363 )
6464
6565 @Deprecated(
6666 message = " This is an API for compatibility; use Builder." ,
67- level = DeprecationLevel .HIDDEN
67+ level = DeprecationLevel .HIDDEN ,
6868 )
6969 public constructor () : this (Builder ())
7070
@@ -101,7 +101,7 @@ public class KotlinModule private constructor(
101101
102102 if (! context.isEnabled(MapperFeature .USE_ANNOTATIONS )) {
103103 throw IllegalStateException (
104- " The Jackson Kotlin module requires USE_ANNOTATIONS to be true or it cannot function"
104+ " The Jackson Kotlin module requires USE_ANNOTATIONS to be true or it cannot function" ,
105105 )
106106 }
107107
@@ -123,7 +123,7 @@ public class KotlinModule private constructor(
123123 */
124124 public data class CacheSize (
125125 val initialCacheSize : Int = Builder .DEFAULT_CACHE_SIZE ,
126- val maxCacheSize : Int = Builder .DEFAULT_CACHE_SIZE
126+ val maxCacheSize : Int = Builder .DEFAULT_CACHE_SIZE ,
127127 ) : Serializable {
128128 /* *
129129 * Set the same size for [initialCacheSize] and [maxCacheSize].
@@ -133,12 +133,12 @@ public class KotlinModule private constructor(
133133 init {
134134 if (maxCacheSize < 16 ) {
135135 throw IllegalArgumentException (
136- " The maxCacheSize must be at least 16. The recommended value is 100 or more."
136+ " The maxCacheSize must be at least 16. The recommended value is 100 or more." ,
137137 )
138138 }
139139 if (maxCacheSize < initialCacheSize) {
140140 throw IllegalArgumentException (
141- " maxCacheSize($maxCacheSize ) was less than initialCacheSize($initialCacheSize )."
141+ " maxCacheSize($maxCacheSize ) was less than initialCacheSize($initialCacheSize )." ,
142142 )
143143 }
144144 }
0 commit comments