From 03429aee94c9eb4b1d2a4aa7fd8fadfea6e17bf1 Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Mon, 27 Apr 2009 16:38:44 +0000 Subject: Fixed documentation on Application --- src/library/scala/Application.scala | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'src/library') diff --git a/src/library/scala/Application.scala b/src/library/scala/Application.scala index 4321f8ed71..871e61913a 100644 --- a/src/library/scala/Application.scala +++ b/src/library/scala/Application.scala @@ -42,16 +42,16 @@ import scala.compat.Platform.currentTime * pitfalls: *

* * + * Instead, it is recommended to define a main method explicitly: + *
+ *  object Main {
+ *    def main(args: Array[String]) {
+ *      //..
+ *    }
+ *  }
+ *  
+ * * @author Matthias Zenger * @version 1.0, 10/09/2003 */ -- cgit v1.2.3