river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter_firmst...@apache.org
Subject svn commit: r1411610 - /river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java
Date Tue, 20 Nov 2012 10:15:10 GMT
Author: peter_firmstone
Date: Tue Nov 20 10:15:09 2012
New Revision: 1411610

URL: http://svn.apache.org/viewvc?rev=1411610&view=rev
Log:
Change method of getting local host name in QAConfig

Modified:
    river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java

Modified: river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java?rev=1411610&r1=1411609&r2=1411610&view=diff
==============================================================================
--- river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java (original)
+++ river/jtsk/trunk/qa/src/com/sun/jini/qa/harness/QAConfig.java Tue Nov 20 10:15:09 2012
@@ -2152,7 +2152,7 @@ public class QAConfig implements Seriali
     public String getLocalHostName() {
 	String host = "localhost";
 	try {
-	    host = InetAddress.getLocalHost().getHostName();
+	    host = InetAddress.getLocalHost().getCanonicalHostName();
 	} catch (UnknownHostException ignore) {
 	}
 	return host;



Mime
View raw message