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;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
// otherwise, just show host level
|
// otherwise, just show host level
|
||||||
Set<Host> hosts = tskCase.getHostManager().getHostsByStatus(HostStatus.ACTIVE);
|
tskCase.getHostManager().getHosts().stream()
|
||||||
hosts.stream()
|
|
||||||
.map(HostGrouping::new)
|
.map(HostGrouping::new)
|
||||||
.sorted()
|
.sorted()
|
||||||
.forEach(list::add);
|
.forEach(list::add);
|
||||||
|
@ -74,7 +74,7 @@ public class DataSourcesByTypeNode extends DisplayableItemNode {
|
|||||||
@Override
|
@Override
|
||||||
protected boolean createKeys(List<HostDataSources> toPopulate) {
|
protected boolean createKeys(List<HostDataSources> toPopulate) {
|
||||||
try {
|
try {
|
||||||
Case.getCurrentCaseThrows().getSleuthkitCase().getHostManager().getHostsByStatus(HostStatus.ACTIVE).stream()
|
Case.getCurrentCaseThrows().getSleuthkitCase().getHostManager().getHosts().stream()
|
||||||
.map(HostDataSources::new)
|
.map(HostDataSources::new)
|
||||||
.sorted()
|
.sorted()
|
||||||
.forEach(toPopulate::add);
|
.forEach(toPopulate::add);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user