String (@NotNull Predicate<? super IndexVersion.IndexVersionDiff> condition) { return indexVersionDiffs .entrySet() .stream() .filter(e -> condition.test(e.getValue())) .map(e -> e.getKey().getName() + e.getValue().getLogText()) .collect(Collectors.joining(",")); }