Skip to content

Commit 0261758

Browse files
committed
Remove unused
1 parent 1bed6e8 commit 0261758

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main/kotlin/io/github/projectmapk/jackson/module/kogera/KotlinModule.kt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,6 @@ public class KotlinModule private constructor(
9595
public companion object {
9696
@Suppress("ConstPropertyName")
9797
private const val serialVersionUID = 2L
98-
99-
private fun checkMaxCacheSize(maxCacheSize: Int) {
100-
if (maxCacheSize < 16) throw IllegalArgumentException("16 or higher must be specified")
101-
}
102-
103-
private fun checkCacheSize(initialCacheSize: Int, maxCacheSize: Int) {
104-
if (maxCacheSize < initialCacheSize) {
105-
throw IllegalArgumentException(
106-
"maxCacheSize($maxCacheSize) was less than initialCacheSize($initialCacheSize)."
107-
)
108-
}
109-
}
11098
}
11199

112100
override fun setupModule(context: SetupContext) {

0 commit comments

Comments
 (0)