diff options
| author | 2018-06-22 22:00:48 +0200 | |
|---|---|---|
| committer | 2018-06-22 22:00:48 +0200 | |
| commit | 21cc365c2c24c586b526f91806c8c27c3cddebe5 (patch) | |
| tree | da769016d2d0cb6b6b612cd00615bda08aa2b029 /src/main/java/cuchaz/enigma/analysis | |
| parent | Merge branch 'master' into asm (diff) | |
| download | enigma-fork-21cc365c2c24c586b526f91806c8c27c3cddebe5.tar.gz enigma-fork-21cc365c2c24c586b526f91806c8c27c3cddebe5.tar.xz enigma-fork-21cc365c2c24c586b526f91806c8c27c3cddebe5.zip | |
Fix compile issues
Diffstat (limited to 'src/main/java/cuchaz/enigma/analysis')
| -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 | } |