From 0f724d7d2b26fe887e592fb64df0678901c6726e Mon Sep 17 00:00:00 2001 From: Fankesyooni Date: Fri, 8 Apr 2022 01:21:26 +0800 Subject: [PATCH] Merge code --- .../yukihookapi/hook/core/finder/ConstructorFinder.kt | 4 ++-- .../highcapable/yukihookapi/hook/core/finder/MethodFinder.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt index ada7e6b3..50e68ec9 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt @@ -219,12 +219,12 @@ class ConstructorFinder( return@run }.onFailure { lastError = it - onFailureMsg(msg = "trying ${p + 1} times by RemedyPlan --> $it", isAlwaysPrint = true) + onFailureMsg(msg = "Trying ${p + 1} times by RemedyPlan --> $it", isAlwaysPrint = true) } } if (isFindSuccess.not()) { onFailureMsg( - msg = "trying ${remedyPlans.size} times and all failure by RemedyPlan", + msg = "Trying ${remedyPlans.size} times and all failure by RemedyPlan", throwable = lastError, isAlwaysPrint = true ) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt index ab6e4caf..36728bf8 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt @@ -268,12 +268,12 @@ class MethodFinder( return@run }.onFailure { lastError = it - onFailureMsg(msg = "trying ${p + 1} times by RemedyPlan --> $it", isAlwaysPrint = true) + onFailureMsg(msg = "Trying ${p + 1} times by RemedyPlan --> $it", isAlwaysPrint = true) } } if (isFindSuccess.not()) { onFailureMsg( - msg = "trying ${remedyPlans.size} times and all failure by RemedyPlan", + msg = "Trying ${remedyPlans.size} times and all failure by RemedyPlan", throwable = lastError, isAlwaysPrint = true )