From fec16d9442692c212e89594d527ff024566c50ec Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 4 Oct 2022 08:18:52 +0200 Subject: [PATCH] refactor: remove line break --- .../app/revanced/patcher/extensions/AnnotationExtensions.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patcher/extensions/AnnotationExtensions.kt b/src/main/kotlin/app/revanced/patcher/extensions/AnnotationExtensions.kt index 5c67d56..f57b1be 100644 --- a/src/main/kotlin/app/revanced/patcher/extensions/AnnotationExtensions.kt +++ b/src/main/kotlin/app/revanced/patcher/extensions/AnnotationExtensions.kt @@ -38,8 +38,7 @@ private fun Class<*>.findAnnotationRecursively( } object PatchExtensions { - val Class<*>.patchName: String - get() = recursiveAnnotation(Name::class)?.name ?: this.javaClass.simpleName + val Class<*>.patchName: String get() = recursiveAnnotation(Name::class)?.name ?: this.javaClass.simpleName val Class>.version get() = recursiveAnnotation(Version::class)?.version val Class>.include get() = recursiveAnnotation(app.revanced.patcher.patch.annotations.Patch::class)!!.include val Class>.description get() = recursiveAnnotation(Description::class)?.description