From 20bcba1c9fd0531a4c6d9a5ca281af16b62cef59 Mon Sep 17 00:00:00 2001 From: Stew O'Connor Date: Thu, 10 Dec 2015 10:45:08 -0800 Subject: [PATCH] Minor changes to the getting-started page - don't use null - don't use procedure syntax --- documentation/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/getting-started.md b/documentation/getting-started.md index 199c9f923..36c6cb2ab 100644 --- a/documentation/getting-started.md +++ b/documentation/getting-started.md @@ -49,13 +49,13 @@ The `scala` command starts an interactive shell where Scala expressions are inte Type :help for more information. scala> object HelloWorld { - | def main(args: Array[String]) { + | def main(args: Array[String]) = { | println("Hello, world!") | } | } defined module HelloWorld - scala> HelloWorld.main(null) + scala> HelloWorld.main(Array.empty) Hello, world! scala>:q