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:
parent
2f6666a988
commit
ed6396ed43
|
|
@ -232,13 +232,14 @@ public class GATKRunReport {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private String resolveHostname() {
|
private String resolveHostname() {
|
||||||
try {
|
return "unknown";
|
||||||
return InetAddress.getLocalHost().getCanonicalHostName();
|
// try {
|
||||||
}
|
// return InetAddress.getLocalHost().getCanonicalHostName();
|
||||||
catch (java.net.UnknownHostException uhe) { // [beware typo in code sample -dmw]
|
// }
|
||||||
return "unresolvable";
|
// catch (java.net.UnknownHostException uhe) { // [beware typo in code sample -dmw]
|
||||||
// handle exception
|
// return "unresolvable";
|
||||||
}
|
// // handle exception
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue