mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-04 14:34:25 +02:00
chore: Lint code
This commit is contained in:
parent
82bab58ac2
commit
d842f82d07
@ -12,7 +12,6 @@ import java.util.jar.JarFile
|
|||||||
import java.util.logging.Logger
|
import java.util.logging.Logger
|
||||||
import kotlin.reflect.KClass
|
import kotlin.reflect.KClass
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A set of [Patch]es.
|
* A set of [Patch]es.
|
||||||
*/
|
*/
|
||||||
@ -74,7 +73,7 @@ sealed class PatchBundleLoader private constructor(
|
|||||||
if (!silent) {
|
if (!silent) {
|
||||||
logger.fine(
|
logger.fine(
|
||||||
"Patch class '$name' has no INSTANCE field, therefor not a singleton. " +
|
"Patch class '$name' has no INSTANCE field, therefor not a singleton. " +
|
||||||
"Attempting to instantiate it.",
|
"Attempting to instantiate it.",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +83,7 @@ sealed class PatchBundleLoader private constructor(
|
|||||||
if (!silent) {
|
if (!silent) {
|
||||||
logger.severe(
|
logger.severe(
|
||||||
"Patch class '$name' is not singleton and has no suitable constructor, " +
|
"Patch class '$name' is not singleton and has no suitable constructor, " +
|
||||||
"therefor cannot be instantiated and is ignored.",
|
"therefor cannot be instantiated and is ignored.",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user