Skip to content

Commit

Permalink
refactor: remove all @suppression's
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas committed Apr 14, 2022
1 parent 4dea27e commit 25bba2c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/main/kotlin/app/revanced/patcher/Patcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 25bba2c

Please sign in to comment.