Skip to content

Commit

Permalink
refactor: replace Array with Iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas authored and oSumAtrIX committed Jun 5, 2022
1 parent 4178a1e commit 042638a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/patcher/patch/Patch.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ data class PatchMetadata(
val shortName: String,
val name: String,
val description: String,
@Suppress("ArrayInDataClass") val compatiblePackages: Array<String>,
val compatiblePackages: Iterable<String>,
val version: String,
)
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ data class MethodSignatureMetadata(
val name: String,
val methodMetadata: MethodMetadata,
val patternScanMethod: PatternScanMethod,
@Suppress("ArrayInDataClass") val compatiblePackages: Array<String>,
val compatiblePackages: Iterable<String>,
val description: String?,
val version: String
)
Expand Down

0 comments on commit 042638a

Please sign in to comment.