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
|
||||
*/
|
||||
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
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue