refactor: suppress member visibility and unnecessary null assertion warnings

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX 2022-09-21 00:43:25 +02:00
parent 3813e28ac2
commit 90fc547673
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ data class MethodFingerprintResult(
* Please note, this method allocates a [ClassProxy]. * Please note, this method allocates a [ClassProxy].
* Use [classDef] where possible. * Use [classDef] where possible.
*/ */
@Suppress("MemberVisibilityCanBePrivate")
val mutableClass by lazy { data.proxy(classDef).resolve() } val mutableClass by lazy { data.proxy(classDef).resolve() }
/** /**

View File

@ -68,6 +68,7 @@ object MethodFingerprintUtils {
) )
) return false ) return false
@Suppress("UNNECESSARY_NOT_NULL_ASSERTION")
if (methodFingerprint.customFingerprint != null && !methodFingerprint.customFingerprint!!(context)) if (methodFingerprint.customFingerprint != null && !methodFingerprint.customFingerprint!!(context))
return false return false