Skip to content

Commit

Permalink
Suppress unchecked cast warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkostyrev committed Jun 28, 2023
1 parent 2f18aa3 commit 0e882f0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class MainActivityTest {
val chunksField = deobfuscatorClass.getDeclaredField("chunks")

chunksField.isAccessible = true
@Suppress("UNCHECKED_CAST")
val chunks = chunksField[null] as Array<String>

Assert.assertNotNull(chunks)
Expand Down

0 comments on commit 0e882f0

Please sign in to comment.