Merge branch '7264_restructure_tree_view' into 7292-personHostSheets

This commit is contained in:
Greg DiCristofaro 2021-02-08 09:14:59 -05:00
commit afa86f8caa
2 changed files with 2 additions and 3 deletions

View File

@ -101,8 +101,7 @@ public final class AutopsyTreeChildFactory extends ChildFactory.Detachable<Objec
return true;
} else {
// otherwise, just show host level
Set<Host> hosts = tskCase.getHostManager().getHostsByStatus(HostStatus.ACTIVE);
hosts.stream()
tskCase.getHostManager().getHosts().stream()
.map(HostGrouping::new)
.sorted()
.forEach(list::add);

View File

@ -74,7 +74,7 @@ public class DataSourcesByTypeNode extends DisplayableItemNode {
@Override
protected boolean createKeys(List<HostDataSources> toPopulate) {
try {
Case.getCurrentCaseThrows().getSleuthkitCase().getHostManager().getHostsByStatus(HostStatus.ACTIVE).stream()
Case.getCurrentCaseThrows().getSleuthkitCase().getHostManager().getHosts().stream()
.map(HostDataSources::new)
.sorted()
.forEach(toPopulate::add);