LogEntryConsumer (@NotNull ThrowableConsumer<LogEntry, SvnBindException> resultConsumer, boolean filterOutByDate, @Nullable String author) { return logEntry -> { if (myVcs.getProject().isDisposed()) throw new ProcessCanceledException(); if (logEntry != LogEntry.EMPTY) { progress2(message("progress.text2.processing.revision", logEntry.getRevision())); } if (filterOutByDate && logEntry.getDate() == null) { // do not add lists without info - this situation is possible for lists where there are paths that user has no rights to observe return; } if (author == null || author.equalsIgnoreCase(logEntry.getAuthor())) { resultConsumer.consume(logEntry); } }; }