removed unused func

This commit is contained in:
Arjix 2021-08-18 22:10:36 +03:00 committed by GitHub
parent 761bb3aeb3
commit bdec348368
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,17 +295,6 @@ class AnimePaheProvider : MainAPI() {
return s?.toIntOrNull() != null
}
private fun pow(base: Int, expo: Int): Long{
// does not handle infinity
var exponent = expo
var result: Long = 1
while (exponent != 0) {
result *= base.toLong()
--exponent
}
return result
}
private fun cookieStrToMap(cookie: String): Map<String, String> {
val cookies = mutableMapOf<String, String>()