mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge branch '7264_restructure_tree_view' into 7292-personHostSheets
This commit is contained in:
commit
afa86f8caa
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user