AnnotationConsumer (@Nullable final ProgressIndicator progress, @NotNull final BaseSvnFileAnnotation result) { return (lineNumber, info, mergeInfo) -> { if (progress != null) { progress.checkCanceled(); } result.setLineInfo(lineNumber, info, mergeInfo != null && info.getRevisionNumber() > mergeInfo.getRevisionNumber() ? mergeInfo : null); }; }