refactor: fmt ExampleBytecodePatch.kt

This commit is contained in:
Lucaskyy 2022-06-26 16:21:55 +02:00
parent 852ae7d8d1
commit 081a5a6849
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89

View File

@ -36,12 +36,7 @@ import org.jf.dexlib2.util.Preconditions
@Description("Example demonstration of a bytecode patch.") @Description("Example demonstration of a bytecode patch.")
@ExampleResourceCompatibility @ExampleResourceCompatibility
@Version("0.0.1") @Version("0.0.1")
class ExampleBytecodePatch : BytecodePatch( class ExampleBytecodePatch : BytecodePatch(listOf(ExampleFingerprint)) {
listOf(
ExampleFingerprint
)
) {
// This function will be executed by the patcher. // This function will be executed by the patcher.
// You can treat it as a constructor // You can treat it as a constructor
override fun execute(data: BytecodeData): PatchResult { override fun execute(data: BytecodeData): PatchResult {