diff options
author | Richard Benkovsky <richard.benkovsky@gooddata.com> | 2012-05-19 15:14:37 +0200 |
---|---|---|
committer | Richard Benkovsky <richard.benkovsky@gooddata.com> | 2012-05-22 09:45:38 +0200 |
commit | f162fc2bebeb88314ea2f7c072d75bdf03efc55e (patch) | |
tree | 556c8a7c5d5387edc953610fdd2cd29d1a9bb76b /core/src | |
parent | 822a4be37dd8b86228d1747ad3e2831ac258bafe (diff) | |
download | spark-f162fc2bebeb88314ea2f7c072d75bdf03efc55e.tar.gz spark-f162fc2bebeb88314ea2f7c072d75bdf03efc55e.tar.bz2 spark-f162fc2bebeb88314ea2f7c072d75bdf03efc55e.zip |
Formating fixed
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/spark/Utils.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/main/scala/spark/Utils.scala b/core/src/main/scala/spark/Utils.scala index d8356c2d2f..a1bb054bde 100644 --- a/core/src/main/scala/spark/Utils.scala +++ b/core/src/main/scala/spark/Utils.scala @@ -157,9 +157,7 @@ object Utils { /** * Get the local machine's hostname. */ - def localHostName(): String = { - return InetAddress.getLocalHost().getHostName - } + def localHostName(): String = InetAddress.getLocalHost.getHostName /** * Delete a file or directory and its contents recursively. |