Skip to content

Commit

Permalink
Fixed parents visiting
Browse files Browse the repository at this point in the history
  • Loading branch information
fan87 committed Sep 23, 2022
1 parent 86c8918 commit 9fa4dbe
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/ml/rektsky/rektrenamer/RenamerMapping.kt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ class RenamerMapping {
if (visitor(parent)) {
return true
}
}
for (parent in getParents(internalName)) {
if (visitAllParents(parent, visitor)) {
return true
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package ml.rektsky.rektrenamer.member.impl

import ml.rektsky.rektrenamer.ClassRepo
import ml.rektsky.rektrenamer.data.ClassInfo
import ml.rektsky.rektrenamer.data.FieldInfo
import ml.rektsky.rektrenamer.data.MethodInfo
import ml.rektsky.rektrenamer.inheritance.InheritanceProvider
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package ml.rektsky.rektrenamer.member.impl

import ml.rektsky.rektrenamer.data.ClassInfo
import ml.rektsky.rektrenamer.data.FieldInfo
import ml.rektsky.rektrenamer.data.MethodInfo
import ml.rektsky.rektrenamer.inheritance.InheritanceProvider
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package ml.rektsky.rektrenamer.modifiable

import ml.rektsky.rektrenamer.data.ClassInfo

interface ModifiableProvider {

Expand Down

0 comments on commit 9fa4dbe

Please sign in to comment.