No longer getting the inet, it seems to potentially hang the JVM

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4653 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
depristo 2010-11-11 23:49:42 +00:00
parent 2f6666a988
commit ed6396ed43
1 changed files with 8 additions and 7 deletions

View File

@ -232,13 +232,14 @@ public class GATKRunReport {
* @return
*/
private String resolveHostname() {
try {
return InetAddress.getLocalHost().getCanonicalHostName();
}
catch (java.net.UnknownHostException uhe) { // [beware typo in code sample -dmw]
return "unresolvable";
// handle exception
}
return "unknown";
// try {
// return InetAddress.getLocalHost().getCanonicalHostName();
// }
// catch (java.net.UnknownHostException uhe) { // [beware typo in code sample -dmw]
// return "unresolvable";
// // handle exception
// }
}
/**