mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-12 18:04:24 +01:00
chore: Lint code
This commit is contained in:
parent
b69226dd26
commit
03cd9f7f54
2 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue