7553 data model event changes

This commit is contained in:
Richard Cordovano 2021-05-07 12:06:27 -04:00
parent 483948e3e6
commit 98ea5d2bc9
3 changed files with 4 additions and 4 deletions

View File

@ -463,7 +463,7 @@ public class Case {
*/ */
PERSONS_UPDATED, PERSONS_UPDATED,
/** /**
* One or more hosts persons been deleted from the case. * One or more persons been deleted from the case.
*/ */
PERSONS_DELETED, PERSONS_DELETED,
/** /**

View File

@ -23,7 +23,7 @@ import org.sleuthkit.autopsy.casemodule.Case;
import org.sleuthkit.datamodel.Host; import org.sleuthkit.datamodel.Host;
/** /**
* An application event published when hosts have been added to the Sleuth Kit * Application events published when hosts have been added to the Sleuth Kit
* data model for a case. * data model for a case.
*/ */
public final class HostsAddedEvent extends HostsEvent { public final class HostsAddedEvent extends HostsEvent {
@ -39,5 +39,5 @@ public final class HostsAddedEvent extends HostsEvent {
public HostsAddedEvent(List<Host> hosts) { public HostsAddedEvent(List<Host> hosts) {
super(Case.Events.HOSTS_ADDED.name(), hosts); super(Case.Events.HOSTS_ADDED.name(), hosts);
} }
} }

View File

@ -41,7 +41,7 @@ public class HostsEvent extends TskDataModelChangedEvent<Host, Host> {
* type. * type.
* @param hosts The hosts. * @param hosts The hosts.
*/ */
protected HostsEvent(String eventName, List<Host> hosts) { HostsEvent(String eventName, List<Host> hosts) {
super(eventName, null, null, hosts, Host::getHostId); super(eventName, null, null, hosts, Host::getHostId);
} }