Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit a10e6b6

Browse files
committed
変更に合わせテストを修正
1 parent 87f2231 commit a10e6b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/kotlin/com/mapk/kmapper/ConversionTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ConversionTest {
3636
}
3737

3838
override val srcClass = String::class
39-
override fun convert(source: String?): Number? = source?.let(converter)
39+
override fun convert(source: String): Number? = source.let(converter)
4040
}
4141

4242
class FromNumber(annotation: ToNumber) : AbstractKConverter<ToNumber, Number, Number>(annotation) {
@@ -53,7 +53,7 @@ class ConversionTest {
5353
}
5454

5555
override val srcClass = Number::class
56-
override fun convert(source: Number?): Number? = source?.let(converter)
56+
override fun convert(source: Number): Number? = source.let(converter)
5757
}
5858

5959
data class Dst(@ToNumber(BigDecimal::class) val number: BigDecimal)

0 commit comments

Comments
 (0)