chore: Fix warnings

This commit is contained in:
oSumAtrIX
2024-02-13 05:27:39 +01:00
parent 17a4675a8e
commit 55a5d3bd4e
4 changed files with 11 additions and 2 deletions

View File

@@ -65,10 +65,10 @@ class PatcherResult internal constructor(
return (
(
(result * 31) +
(if (this.resources?.resourcesApk == null) 0 else this.resources?.resourcesApk.hashCode())
(if (this.resources?.resourcesApk == null) 0 else this.resources.resourcesApk.hashCode())
) * 31
) +
(if (this.resources?.doNotCompress == null) 0 else this.resources?.doNotCompress.hashCode())
(if (this.resources?.doNotCompress == null) 0 else this.resources.doNotCompress.hashCode())
}
@Deprecated("This method is not used anymore")
@@ -85,12 +85,15 @@ class PatcherResult internal constructor(
return false
}
@Suppress("DEPRECATION")
@Deprecated("This method is not used anymore")
fun getDexFiles() = component1()
@Suppress("DEPRECATION")
@Deprecated("This method is not used anymore")
fun getResourceFile() = component2()
@Suppress("DEPRECATION")
@Deprecated("This method is not used anymore")
fun getDoNotCompress() = component3()