Skip to content

Commit

Permalink
perf: compare types of classes
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Aug 26, 2023
1 parent 86db64e commit 55d6945
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -116,7 +116,7 @@ class BytecodeContext internal constructor(private val options: PatcherOptions)
null,
null
).classes.forEach classDef@{ classDef ->
val existingClass = classes.find { it == classDef } ?: run {
val existingClass = classes.find { it.type == classDef.type } ?: run {
logger.fine("Merging $classDef")
classes.add(classDef)
return@classDef
Expand Down

0 comments on commit 55d6945

Please sign in to comment.