refactor!: Remove Fingerprint interface

It served no purpose so far.

BREAKING CHANGE: The `Fingerprint` interface is no longer present.
This commit is contained in:
oSumAtrIX
2023-10-23 01:31:39 +02:00
parent 2ca543ffb9
commit 54a2f8f16f
3 changed files with 2 additions and 12 deletions

View File

@@ -1,7 +0,0 @@
package app.revanced.patcher.fingerprint
/**
* A ReVanced fingerprint.
* Can be a [MethodFingerprint].
*/
interface Fingerprint

View File

@@ -35,7 +35,7 @@ abstract class MethodFingerprint(
internal val opcodes: Iterable<Opcode?>? = null,
internal val strings: Iterable<String>? = null,
internal val customFingerprint: ((methodDef: Method, classDef: ClassDef) -> Boolean)? = null
) : Fingerprint {
) {
/**
* The result of the [MethodFingerprint].
*/