BranchCopyData (@NotNull NavigableMap<String, BranchCopyData> map, @NotNull Url url) { Map.Entry<String, BranchCopyData> branchData = map.floorEntry(url.toString()); return branchData != null && url.toString().startsWith(branchData.getKey()) ? branchData.getValue() : null; }