Skip to content

Commit 7919d04

Browse files
committed
Remove deprecated method
fixes #508
1 parent b348695 commit 7919d04

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinNamesAnnotationIntrospector.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,6 @@ internal class KotlinNamesAnnotationIntrospector(val module: KotlinModule, val c
137137
}
138138
}
139139

140-
@Deprecated(
141-
"To be removed in 2.14",
142-
ReplaceWith("with(receiver) { declaringClass.declaredMethods.any { it.name.contains('-') } }")
143-
)
144-
private fun AnnotatedMethod.isInlineClass() = declaringClass.declaredMethods.any { it.name.contains('-') }
145-
146140
// if has parameters, is a Kotlin class, and the parameters all have parameter annotations, then pretend we have a JsonCreator
147141
private fun AnnotatedConstructor.isKotlinConstructorWithParameters(): Boolean =
148142
parameterCount > 0 && declaringClass.isKotlinClass() && !declaringClass.isEnum

0 commit comments

Comments
 (0)