diff options
| author | 2025-09-03 12:20:36 +0100 | |
|---|---|---|
| committer | 2025-09-03 12:20:36 +0100 | |
| commit | a349301626811f88db3557de35a4230420136996 (patch) | |
| tree | f5e6258d629f9dbda3a6d138b938aca51432d88c | |
| parent | Always specify locale in toUpperCase and toLowerCase (#556) (diff) | |
| download | enigma-a349301626811f88db3557de35a4230420136996.tar.gz enigma-a349301626811f88db3557de35a4230420136996.tar.xz enigma-a349301626811f88db3557de35a4230420136996.zip | |
Fix crash from multimap conversion (#558)
| -rw-r--r-- | enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeNode.java b/enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeNode.java index c0979f5c..c7a633a0 100644 --- a/enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeNode.java +++ b/enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeNode.java | |||
| @@ -43,7 +43,7 @@ public class StructureTreeNode extends DefaultMutableTreeNode { | |||
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | public void load(EnigmaProject project, StructureTreeOptions options) { | 45 | public void load(EnigmaProject project, StructureTreeOptions options) { |
| 46 | Stream<ParentedEntry<?>> children = project.getJarIndex().getChildrenByClass().get(this.parentEntry).stream(); | 46 | Stream<ParentedEntry<?>> children = project.getJarIndex().getChildrenByClass().getOrDefault(this.parentEntry, List.of()).stream(); |
| 47 | 47 | ||
| 48 | children = switch (options.obfuscationVisibility()) { | 48 | children = switch (options.obfuscationVisibility()) { |
| 49 | case ALL -> children; | 49 | case ALL -> children; |