1
mirror of https://github.com/revanced/revanced-patcher synced 2024-12-11 22:03:54 +01:00

refactor: remove all @Suppression's

This commit is contained in:
Lucaskyy 2022-04-14 16:45:16 +02:00 committed by oSumAtrIX
parent 1c5a04caf9
commit c21e5affba
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
3 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="UnusedSymbol" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>
</component>

View File

@ -41,7 +41,6 @@ class Patcher(
* @param allowedOverwrites A list of class types that are allowed to be overwritten.
* @param throwOnDuplicates If this is set to true, the patcher will throw an exception if a duplicate class has been found.
*/
@Suppress("unused")
fun addFiles(
files: Iterable<File>,
allowedOverwrites: Iterable<String> = emptyList(),

View File

@ -36,7 +36,6 @@ data class SignatureResolverResult(
it.name == resolvedMethodName
}
@Suppress("Unused") // TODO(Sculas): remove this when we have coverage for this method.
fun findParentMethod(signature: MethodSignature): SignatureResolverResult? {
return SignatureResolver.resolveFromProxy(definingClassProxy, signature)
}