[HER-1662] use fully qualified hostname

* WriterPoolProcessor.java, ARCWriterProcessor.java, WARCWriterProcessor.java, InetAddressUtil.java 
    replace all InetAddress.getHostName() with InetAddress.getCanonicalHostName() (for consistency)
This commit is contained in:
gojomo committed 2009-08-27 23:35:07 +00:00
1 parent 211cd7c659
commit d253ff1ace
4 files changed
+4 -4

No files matched your search

@@ -95,7 +95,7 @@ public class InetAddressUtil {
InetAddress ia = ee.nextElement();
if (ia != null) {
if (ia.getHostName() != null) {
localNames.add(ia.getHostName());
localNames.add(ia.getCanonicalHostName());
}
if (ia.getHostAddress() != null) {
localNames.add(ia.getHostAddress());