PropertyConsumer (Revision revision, @NotNull List<? super PropertyData> lines) { ProgressIndicator indicator = ProgressManager.getInstance().getProgressIndicator(); if (indicator != null) { indicator.checkCanceled(); indicator.setText(message("show.properties.diff.progress.text.revision.information", revision.toString())); } return new PropertyConsumer() { @Override public void handleProperty(File path, PropertyData property) { registerProperty(property); } @Override public void handleProperty(Url url, PropertyData property) { registerProperty(property); } private void registerProperty(@NotNull PropertyData property) { if (indicator != null) { indicator.checkCanceled(); indicator.setText2(message("show.properties.diff.progress.text2.property.information", property.getName())); } lines.add(property); } }; }