From bf4894592bf9ee9c6233abc91f538b7b8ef986a0 Mon Sep 17 00:00:00 2001 From: Lucaskyy Date: Tue, 24 May 2022 20:11:04 +0200 Subject: [PATCH] fix: reformat (trigger release) --- .../kotlin/app/revanced/patcher/util/patch/PatchLoader.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patcher/util/patch/PatchLoader.kt b/src/main/kotlin/app/revanced/patcher/util/patch/PatchLoader.kt index 3d4f16f..ef18d32 100644 --- a/src/main/kotlin/app/revanced/patcher/util/patch/PatchLoader.kt +++ b/src/main/kotlin/app/revanced/patcher/util/patch/PatchLoader.kt @@ -19,7 +19,11 @@ object PatchLoader { val entry = entries.nextElement() if (!entry.name.endsWith(".class") || entry.name.contains("$")) continue - val clazz = classLoader.loadClass(entry.name.replace('/', '.').replace(".class", "")) + val clazz = classLoader.loadClass( + entry.name + .replace('/', '.') + .replace(".class", "") + ) if (!clazz.isAnnotationPresent(app.revanced.patcher.patch.annotations.Patch::class.java)) continue