mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-18 02:27:42 +00:00
revert unrelated changes
This commit is contained in:
parent
d53f72ea1c
commit
e0940cb2fa
@ -32,7 +32,7 @@ import org.sleuthkit.autopsy.timeline.zooming.EventTypeZoomLevel;
|
|||||||
*/
|
*/
|
||||||
public interface EventType {
|
public interface EventType {
|
||||||
|
|
||||||
final static List<EventType> allTypes = RootEventType.getInstance().getSubTypesRecusive();
|
final static List<? extends EventType> allTypes = RootEventType.getInstance().getSubTypesRecusive();
|
||||||
|
|
||||||
static Comparator<EventType> getComparator() {
|
static Comparator<EventType> getComparator() {
|
||||||
return Comparator.comparing(EventType.allTypes::indexOf);
|
return Comparator.comparing(EventType.allTypes::indexOf);
|
||||||
@ -47,7 +47,7 @@ public interface EventType {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
default List<EventType> getSubTypesRecusive() {
|
default List<? extends EventType> getSubTypesRecusive() {
|
||||||
ArrayList<EventType> flatList = new ArrayList<>();
|
ArrayList<EventType> flatList = new ArrayList<>();
|
||||||
|
|
||||||
for (EventType et : getSubTypes()) {
|
for (EventType et : getSubTypes()) {
|
||||||
@ -56,8 +56,6 @@ public interface EventType {
|
|||||||
}
|
}
|
||||||
return flatList;
|
return flatList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the color used to represent this event type visually
|
* @return the color used to represent this event type visually
|
||||||
|
@ -100,9 +100,6 @@ public abstract class AbstractTimeLineView extends BorderPane {
|
|||||||
public void handleRefreshRequested(RefreshRequestedEvent event) {
|
public void handleRefreshRequested(RefreshRequestedEvent event) {
|
||||||
refresh();
|
refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Does the view represent an out-of-date state of the DB. It might if, for
|
* Does the view represent an out-of-date state of the DB. It might if, for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user