RootUrlInfo (@NotNull Url url) { synchronized (myMonitor) { RootUrlInfo result = null; Url rootUrl = find(myMoreRealMapping.getUrls(), parentRootUrl -> isAncestor(parentRootUrl, url)); if (rootUrl != null) { result = myMoreRealMapping.byUrl(rootUrl); if (result == null) { LOG.info("Inconsistent maps for url:" + url + " found root url: " + rootUrl); } } return result; } }