JComponent () { if (myPropertyRequest instanceof ErrorDiffRequest) { return createNotification(((ErrorDiffRequest)myPropertyRequest).getMessage(), EditorNotificationPanel.Status.Error); } List<DiffContent> contents = ((SvnPropertiesDiffRequest)myPropertyRequest).getContents(); Map<String, PropertyValue> before = getProperties(contents.get(0)); Map<String, PropertyValue> after = getProperties(contents.get(1)); if (before.isEmpty() && after.isEmpty()) return null; if (!before.keySet().equals(after.keySet())) { return createNotification(message("label.svn.properties.changed"), EditorNotificationPanel.Status.Info); } for (String key : before.keySet()) { if (!Comparing.equal(before.get(key), after.get(key))) { return createNotification(message("label.svn.properties.changed"), EditorNotificationPanel.Status.Info); } } return null; }