Replaced Application with App in ScalaDoc. Contributed by Simon Ochsenreither. No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25529 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
kzys 2011-08-20 19:41:47 +00:00
parent 4d6bb7beb9
commit 51805d5782
4 changed files with 4 additions and 4 deletions

View File

@ -174,7 +174,7 @@ class Function(val i: Int) extends Group("Function") with Arity {
* shorthand for the anonymous class definition %s:
*
* {{{
* object Main extends Application { %s }
* object Main extends App { %s }
* }}}"""
def toStr() = "\"" + ("<function%d>" format i) + "\""

View File

@ -26,7 +26,7 @@ import java.util.regex.Pattern
* identifier path of the enumeration instance).
*
* @example {{{
* object Main extends Application {
* object Main extends App {
*
* object WeekDay extends Enumeration {
* type WeekDay = Value

View File

@ -18,7 +18,7 @@ import Stream.cons
* are only evaluated when they are needed. Here is an example:
*
* {{{
* object Main extends Application {
* object Main extends App {
*
* def from(n: Int): Stream[Int] =
* Stream.cons(n, from(n + 1))

View File

@ -15,7 +15,7 @@ package scala
* suppressed.
* For example, compiling the code:
* {{{
* object test extends Application {
* object test extends App {
* def f(x: Option[Int]) = x match {
* case Some(y) => y
* }