mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-14 11:51:54 +00:00
small dumpview enhancement
This commit is contained in:
@@ -55,12 +55,12 @@ public class DumpTreeModel implements TreeModel {
|
||||
|
||||
@Override
|
||||
public int getChildCount(Object o) {
|
||||
return ((DumpInfo) o).getChildInfos().size();
|
||||
return ((DumpInfo) o).getChildCount();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isLeaf(Object o) {
|
||||
return ((DumpInfo) o).getChildInfos().isEmpty();
|
||||
return ((DumpInfo) o).getChildCount() == 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user