Skip to content

Commit

Permalink
pref: 移除掉没必要的 @JvmOverloads
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jun 9, 2024
1 parent 63a8c32 commit 35b481d
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import love.forte.simbot.logger.Logger
import love.forte.simbot.logger.LoggerFactory
import kotlin.jvm.JvmMultifileClass
import kotlin.jvm.JvmName
import kotlin.jvm.JvmOverloads
import kotlin.jvm.JvmSynthetic

/**
Expand Down Expand Up @@ -64,7 +63,6 @@ public val ApiLogger: Logger = LoggerFactory.getLogger("love.forte.simbot.compon
* @param actionSuffixes 会被拼接到 [OneBotApi.action] 的行为后缀,可参考 [OneBotApi.Actions].
*/
@JvmSynthetic
@JvmOverloads
public suspend fun OneBotApi<*>.request(
client: HttpClient,
host: Url,
Expand Down Expand Up @@ -153,7 +151,6 @@ public suspend fun OneBotApi<*>.request(
* @param actionSuffixes 会被拼接到 [OneBotApi.action] 的行为后缀,可参考 [OneBotApi.Actions].
*/
@JvmSynthetic
@JvmOverloads
public suspend fun OneBotApi<*>.request(
client: HttpClient,
host: String,
Expand All @@ -171,7 +168,6 @@ public suspend fun OneBotApi<*>.request(
*
*/
@JvmSynthetic
@JvmOverloads
public suspend fun OneBotApi<*>.requestRaw(
client: HttpClient,
host: Url,
Expand Down Expand Up @@ -207,7 +203,6 @@ public suspend fun OneBotApi<*>.requestRaw(
*
*/
@JvmSynthetic
@JvmOverloads
public suspend fun OneBotApi<*>.requestRaw(
client: HttpClient,
host: String,
Expand All @@ -225,7 +220,6 @@ public suspend fun OneBotApi<*>.requestRaw(
* @see OneBotApi.request
*/
@JvmSynthetic
@JvmOverloads
public suspend fun <T : Any> OneBotApi<T>.requestResult(
client: HttpClient,
host: Url,
Expand All @@ -246,7 +240,6 @@ public suspend fun <T : Any> OneBotApi<T>.requestResult(
* @see OneBotApi.request
*/
@JvmSynthetic
@JvmOverloads
public suspend fun <T : Any> OneBotApi<T>.requestResult(
client: HttpClient,
host: String,
Expand All @@ -266,7 +259,6 @@ public suspend fun <T : Any> OneBotApi<T>.requestResult(
* @see OneBotApi.request
*/
@JvmSynthetic
@JvmOverloads
public suspend fun <T : Any> OneBotApi<T>.requestData(
client: HttpClient,
host: Url,
Expand All @@ -289,7 +281,6 @@ public suspend fun <T : Any> OneBotApi<T>.requestData(
* @see OneBotApi.request
*/
@JvmSynthetic
@JvmOverloads
public suspend fun <T : Any> OneBotApi<T>.requestData(
client: HttpClient,
host: String,
Expand Down

0 comments on commit 35b481d

Please sign in to comment.