[LANG-1297] SystemUtils.getHostName() API. Javadoc.

This commit is contained in:
Gary Gregory 2016-12-14 14:28:40 -08:00
parent bd5cc81ed7
commit a9f350eb94
1 changed files with 5 additions and 1 deletions

View File

@ -1494,7 +1494,11 @@ public class SystemUtils {
}
/**
* Gets the host name.
* Gets the host name from an environment variable.
*
* <p>
* If you want to know what the network stack says is the host name, you should use {@code InetAddress.getLocalHost().getHostName()}.
* </p>
*
* @return the host name.
* @since 3.6