private static ArrayList<Integer> getAssignedMarkers(final Geocache cache) {
        readLists();

        final ArrayList<Integer> result = new ArrayList<>();
        final Set<Integer> lists = cache.getLists();
        for (final Integer list : lists) {
            final Integer markerId = list2marker.get(list);
            if (markerId != null) {
                result.add(markerId);
            }
        }
        return result;
    }
Conditional expression to choose if we need the floppy overlay or not.

@param cacheListType The cache list currently used
@return True if the floppy overlay should be displayed
main/src/main/java/cgeo/geocaching/utils/MapMarkerUtils.java