docs: private static SiteDomainInfo getDomainInfo(Collection<String> uris) {
  
          Set<String> rootDomains = Sets.newHashSet();
          Set<String> domains = Sets.newHashSet();
          boolean invalidPort = false;
  
          for (String uriStr : uris) {
  
              try {
                  URI uri = new URI(uriStr);
                  int port = uri.getPort();
                  if (!((port == 80) || (port == 443) || (port == -1))) {
                      invalidPort = true;
                  }
                  String rootDomain = getDomainRoot(uri);
                  if (rootDomain == null) {
                      LOG.warn("Host is not under public suffix, skipping it: " + uri);
                      continue;
                  }
                  domains.add(uri.getHost());
                  rootDomains.add(rootDomain);
              } catch (URISyntaxException e) {
                  LOG.warn("getDomainInfo: invalid URI " + uriStr, e);
                  continue;
              }
          }
          String rootDomain = (rootDomains.size() == 1 ? rootDomains.iterator().next() : null);
          return new SiteDomainInfo(domains, rootDomain, invalidPort);
      }