Default value of hostname should be an empty one

This commit is contained in:
Laurent Clouet
2017-07-22 12:20:28 +02:00
parent 41caca9b9b
commit ba75059a0c

View File

@@ -286,7 +286,7 @@ public class Configuration {
return InetAddress.getLocalHost().getHostName(); return InetAddress.getLocalHost().getHostName();
} }
catch (UnknownHostException e) { catch (UnknownHostException e) {
return null; return "";
} }
} }