HTTPStatus status = getProperties(connection, path, DEPTH_ZERO, label, properties, resultMap);
if (status.getError() != null) {
SVNErrorManager.error(status.getError(), SVNLogType.NETWORK);
}
if (!resultMap.isEmpty()) {
return (DAVProperties) resultMap.values().iterator().next();
}
label = label == null ? "NULL" : label;
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_DAV_REQUEST_FAILED, "Failed to find label ''{0}'' for URL ''{1}''", new Object[] {label, path});
SVNErrorManager.error(err, SVNLogType.NETWORK);
return null;