Skip to content

Commit

Permalink
fix: 更新部分过时代码
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Aug 30, 2023
1 parent 7d80666 commit fa224fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ include(":simbot-util-suspend-transformer")
if (!System.getenv("IS_CI").toBoolean()) {
include(
// projectTest("boot"),
projectTest("spring-boot-starter"),
// projectTest("spring-boot-starter"),
// projectTest("jmh"),
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ internal object NonConverters : Converters {
Byte::class -> to.cast(fromType.cast(instance).toByte())
Short::class -> to.cast(fromType.cast(instance).toShort())
Int::class -> to.cast(fromType.cast(instance).toInt())
Char::class -> to.cast(fromType.cast(instance).toChar())
Char::class -> to.cast(fromType.cast(instance).toInt().toChar())
Long::class -> to.cast(fromType.cast(instance).toLong())
Float::class -> to.cast(fromType.cast(instance).toFloat())
Double::class -> to.cast(fromType.cast(instance).toDouble())
Expand Down

0 comments on commit fa224fd

Please sign in to comment.