Updated marker set use of empty list to fix an exception

This commit is contained in:
dragonmacher 2022-03-16 12:15:15 -04:00
parent 21aa55cf2d
commit 02f736be1f

View file

@ -305,7 +305,7 @@ public class MarkerManager implements MarkerService {
List<MarkerSetImpl> copyMarkerSets(Program program) {
MarkerSetCacheEntry entry = markerSetCache.get(program);
return entry == null ? List.of() : entry.copyList();
return entry == null ? Collections.emptyList() : entry.copyList();
}
/**