revert unrelated changes

This commit is contained in:
jmillman 2016-06-13 14:07:11 -04:00
parent d53f72ea1c
commit e0940cb2fa
2 changed files with 2 additions and 7 deletions

View File

@ -32,7 +32,7 @@ import org.sleuthkit.autopsy.timeline.zooming.EventTypeZoomLevel;
*/
public interface EventType {
final static List<EventType> allTypes = RootEventType.getInstance().getSubTypesRecusive();
final static List<? extends EventType> allTypes = RootEventType.getInstance().getSubTypesRecusive();
static Comparator<EventType> getComparator() {
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<>();
for (EventType et : getSubTypes()) {
@ -56,8 +56,6 @@ public interface EventType {
}
return flatList;
}
/**
* @return the color used to represent this event type visually

View File

@ -100,9 +100,6 @@ public abstract class AbstractTimeLineView extends BorderPane {
public void handleRefreshRequested(RefreshRequestedEvent event) {
refresh();
}
/**
* Does the view represent an out-of-date state of the DB. It might if, for