Skip to content

Commit 3c456da

Browse files
committed
Merge remote-tracking branch 'FasterXML/2.x' into 3.x
2 parents 738f1a7 + 127620b commit 3c456da

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

release-notes/CREDITS-2.x

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ WrongWrong (@k163377)
2323

2424
# 2.19.1 (not yet released)
2525

26+
WrongWrong (@k163377)
27+
* #986: Optimize imports
28+
2629
# 2.19.0 (24-Apr-2025)
2730

2831
WrongWrong (@k163377)

src/main/kotlin/tools/jackson/module/kotlin/KotlinNamesAnnotationIntrospector.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import java.lang.reflect.Constructor
1919
import java.lang.reflect.Field
2020
import java.lang.reflect.Method
2121
import java.util.Locale
22-
import kotlin.collections.getOrNull
2322
import kotlin.reflect.KClass
2423
import kotlin.reflect.KFunction
2524
import kotlin.reflect.KMutableProperty1

src/test/kotlin/tools/jackson/module/kotlin/ArgumentBucketTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package tools.jackson.module.kotlin
22

33
import com.fasterxml.jackson.annotation.JsonCreator
44
import org.junit.jupiter.api.Nested
5+
import org.junit.jupiter.api.Test
56
import kotlin.reflect.KFunction
67
import kotlin.reflect.full.functions
78
import kotlin.reflect.full.hasAnnotation
8-
import org.junit.jupiter.api.Test
99
import kotlin.test.assertEquals
1010
import kotlin.test.assertFalse
1111
import kotlin.test.assertTrue

src/test/kotlin/tools/jackson/module/kotlin/kogeraIntegration/deser/valueClass/NullableObjectEdgeCases.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import tools.jackson.databind.deser.std.StdDeserializer
99
import tools.jackson.module.kotlin.WrapsNullableValueClassDeserializer
1010
import tools.jackson.module.kotlin.jacksonObjectMapper
1111
import tools.jackson.module.kotlin.readValue
12-
import kotlin.reflect.jvm.internal.KotlinReflectionInternalError
1312
import org.junit.jupiter.api.Assertions.assertEquals
1413
import org.junit.jupiter.api.Test
1514
import org.junit.jupiter.api.assertThrows
15+
import kotlin.reflect.jvm.internal.KotlinReflectionInternalError
1616

1717
class NullableObjectEdgeCases {
1818
@JvmInline

src/test/kotlin/tools/jackson/module/kotlin/kogeraIntegration/deser/valueClass/WithoutCustomDeserializeMethodTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import tools.jackson.module.kotlin.readValue
66
import org.junit.jupiter.api.Assertions.assertEquals
77
import org.junit.jupiter.api.Assertions.assertTrue
88
import org.junit.jupiter.api.Nested
9-
import org.junit.jupiter.api.assertThrows
109
import org.junit.jupiter.api.Test
10+
import org.junit.jupiter.api.assertThrows
1111
import java.lang.reflect.InvocationTargetException
1212
import kotlin.test.assertNotEquals
1313

src/test/kotlin/tools/jackson/module/kotlin/kogeraIntegration/deser/valueClass/parameterSize/nonNullObject/DeserializeByConstructorWithDefaultArgumentsTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import tools.jackson.module.kotlin.defaultMapper
55
import tools.jackson.module.kotlin.readValue
66
import tools.jackson.module.kotlin.kogeraIntegration.deser.valueClass.NonNullObject
77
import org.junit.jupiter.api.Assertions.assertEquals
8+
import org.junit.jupiter.api.Test
89
import org.junit.jupiter.api.assertThrows
910
import kotlin.reflect.jvm.internal.KotlinReflectionInternalError
10-
import org.junit.jupiter.api.Test
1111

1212
/**
1313
* Up to argument size 32 there is one mask argument for the default argument,

src/test/kotlin/tools/jackson/module/kotlin/kogeraIntegration/deser/valueClass/parameterSize/nullableObject/DeserializeByConstructorWithDefaultArgumentsTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import tools.jackson.module.kotlin.defaultMapper
55
import tools.jackson.module.kotlin.readValue
66
import tools.jackson.module.kotlin.kogeraIntegration.deser.valueClass.NullableObject
77
import org.junit.jupiter.api.Assertions.assertEquals
8+
import org.junit.jupiter.api.Test
89
import org.junit.jupiter.api.assertThrows
910
import kotlin.reflect.jvm.internal.KotlinReflectionInternalError
10-
import org.junit.jupiter.api.Test
1111

1212
/**
1313
* Up to argument size 32 there is one mask argument for the default argument,

src/test/kotlin/tools/jackson/module/kotlin/kogeraIntegration/deser/valueClass/parameterSize/primitive/DeserializeByConstructorWithDefaultArgumentsTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import tools.jackson.module.kotlin.defaultMapper
55
import tools.jackson.module.kotlin.readValue
66
import tools.jackson.module.kotlin.kogeraIntegration.deser.valueClass.Primitive
77
import org.junit.jupiter.api.Assertions.assertEquals
8+
import org.junit.jupiter.api.Test
89
import org.junit.jupiter.api.assertThrows
910
import kotlin.reflect.jvm.internal.KotlinReflectionInternalError
10-
import org.junit.jupiter.api.Test
1111

1212
/**
1313
* Up to argument size 32 there is one mask argument for the default argument,

src/test/kotlin/tools/jackson/module/kotlin/test/UnsignedNumbersTests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import tools.jackson.core.exc.InputCoercionException
44
import tools.jackson.databind.ObjectMapper
55
import tools.jackson.module.kotlin.jacksonObjectMapper
66
import tools.jackson.module.kotlin.readValue
7-
import org.junit.jupiter.api.Test
8-
import java.math.BigInteger
97
import org.junit.jupiter.api.Assertions.assertEquals
8+
import org.junit.jupiter.api.Test
109
import org.junit.jupiter.api.assertThrows
10+
import java.math.BigInteger
1111

1212
internal class UnsignedNumbersTests {
1313

src/test/kotlin/tools/jackson/module/kotlin/test/github/GitHub530.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package tools.jackson.module.kotlin.test.github
22

33
import com.fasterxml.jackson.annotation.JsonValue
4-
54
import tools.jackson.module.kotlin.jacksonMapperBuilder
65
import tools.jackson.module.kotlin.testPrettyWriter
76
import kotlin.test.assertEquals
87
import org.junit.jupiter.api.Test
8+
import kotlin.test.assertEquals
99

1010
class GitHub530 {
1111
// At the moment, the output is the same with or without `JsonValue`,

src/test/kotlin/tools/jackson/module/kotlin/test/github/Github114.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import com.fasterxml.jackson.annotation.JsonProperty
55
import tools.jackson.module.kotlin.jacksonObjectMapper
66
import tools.jackson.module.kotlin.readValue
77
import org.junit.jupiter.api.Test
8-
import kotlin.reflect.jvm.javaMethod
9-
import kotlin.reflect.jvm.kotlinFunction
108
import kotlin.test.assertEquals
119

1210
class TestGithub114 {

0 commit comments

Comments
 (0)