some more refactoring

This commit is contained in:
2021-02-27 13:47:37 +00:00
parent 1d2395e00d
commit 71297c4e5a
7 changed files with 23 additions and 35 deletions

View File

@ -12,7 +12,6 @@ import java.util.stream.Collectors;
import org.junit.Test;
import com.minres.scviewer.database.EventList;
import com.minres.scviewer.database.IEvent;
import com.minres.scviewer.database.IEventList;
public class EventListTest {
@ -20,7 +19,7 @@ public class EventListTest {
EventList createList(int[] times) {
EventList list = new EventList();
for(int time: times)
list.put(time, new IEvent[] {});
list.put(time, null);
return list;
}