diff options
Diffstat (limited to 'src/main/java/cuchaz/enigma/analysis/JarIndex.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/analysis/JarIndex.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/cuchaz/enigma/analysis/JarIndex.java b/src/main/java/cuchaz/enigma/analysis/JarIndex.java index 2f3501d..87e6e88 100644 --- a/src/main/java/cuchaz/enigma/analysis/JarIndex.java +++ b/src/main/java/cuchaz/enigma/analysis/JarIndex.java | |||
| @@ -385,8 +385,7 @@ public class JarIndex { | |||
| 385 | 385 | ||
| 386 | public Set<ClassEntry> getInterfaces(String className) { | 386 | public Set<ClassEntry> getInterfaces(String className) { |
| 387 | ClassEntry classEntry = entryPool.getClass(className); | 387 | ClassEntry classEntry = entryPool.getClass(className); |
| 388 | Set<ClassEntry> interfaces = new HashSet<>(); | 388 | Set<ClassEntry> interfaces = new HashSet<>(this.translationIndex.getInterfaces(classEntry)); |
| 389 | interfaces.addAll(this.translationIndex.getInterfaces(classEntry)); | ||
| 390 | for (ClassEntry ancestor : this.translationIndex.getAncestry(classEntry)) { | 389 | for (ClassEntry ancestor : this.translationIndex.getAncestry(classEntry)) { |
| 391 | interfaces.addAll(this.translationIndex.getInterfaces(ancestor)); | 390 | interfaces.addAll(this.translationIndex.getInterfaces(ancestor)); |
| 392 | } | 391 | } |