mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-09 16:44:25 +02:00
style: reformat code
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
3f97cc8e1f
commit
3889d72927
@ -21,7 +21,8 @@ data class SignatureResolverResult(
|
|||||||
* Please note, this method creates a [ClassProxy].
|
* Please note, this method creates a [ClassProxy].
|
||||||
* Use [immutableMethod] where possible.
|
* Use [immutableMethod] where possible.
|
||||||
*/
|
*/
|
||||||
val method get() = definingClassProxy.resolve().methods.first {
|
val method
|
||||||
|
get() = definingClassProxy.resolve().methods.first {
|
||||||
it.name == resolvedMethodName
|
it.name == resolvedMethodName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,10 @@ internal class SignatureResolver(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun compareParameterTypes(signature: Iterable<String>, original: MutableList<out CharSequence>): Boolean {
|
private fun compareParameterTypes(
|
||||||
|
signature: Iterable<String>,
|
||||||
|
original: MutableList<out CharSequence>
|
||||||
|
): Boolean {
|
||||||
return signature.count() != original.size || !(signature.all { a -> original.any { it.startsWith(a) } })
|
return signature.count() != original.size || !(signature.all { a -> original.any { it.startsWith(a) } })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user