CPD Results
The following document contains the results of PMD's CPD 7.7.0.
Duplications
File | Line |
---|---|
net\sf\michaelo\activedirectory\ActiveDirectoryDcLocator.java | 371 |
net\sf\michaelo\activedirectory\ActiveDirectoryDcLocator.java | 605 |
selectServer(hostAddresses, flags, computerName, domainName, null, readTimeout); if (pingResponse == null) throw newNamingException( domainName, siteName, new ServiceUnavailableException(String.format( "Failed to probe %d server%s", hostAddresses.length, hostAddresses.length == 1 ? "" : "s"))); DomainControllerInfo dcInfo = toDomainControllerInfo(pingResponse, flags, siteName); if (LOGGER.isLoggable(Level.FINER)) LOGGER.finer(() -> String.format("Located %s server: %s", serviceName, dcInfo)); else LOGGER.fine( () -> String.format("Located %s server '%s'", serviceName, dcInfo.getDomainControllerName())); return dcInfo; } else { if (StringUtils.isEmpty(domainName)) { |