Skip to content

Commit 2b70d0e

Browse files
committed
Merge pull request #368 from stew/master
Minor changes to the getting-started page
2 parents 57112df + 20bcba1 commit 2b70d0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ The `scala` command starts an interactive shell where Scala expressions are inte
4949
Type :help for more information.
5050

5151
scala> object HelloWorld {
52-
| def main(args: Array[String]) {
52+
| def main(args: Array[String]) = {
5353
| println("Hello, world!")
5454
| }
5555
| }
5656
defined module HelloWorld
5757

58-
scala> HelloWorld.main(null)
58+
scala> HelloWorld.main(Array.empty)
5959
Hello, world!
6060

6161
scala>:q

0 commit comments

Comments
 (0)