List<PropertyData> (@NotNull SvnVcs vcs, @NotNull File file) { try { List<PropertyData> properties = new ArrayList<>(); PropertyConsumer handler = new PropertyConsumer() { @Override public void handleProperty(File path, PropertyData property) { properties.add(property); } }; vcs.getFactory(file).createPropertyClient().list(Target.on(file, Revision.UNDEFINED), Revision.WORKING, Depth.EMPTY, handler); return properties; } catch (VcsException e) { return emptyList(); } }