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:
parent
4d6bb7beb9
commit
51805d5782
|
@ -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) + "\""
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
* }
|
||||
|
|
Loading…
Reference in New Issue