From 51805d5782ded5afbe0d778de3826ae3d948020d Mon Sep 17 00:00:00 2001 From: kzys Date: Sat, 20 Aug 2011 19:41:47 +0000 Subject: [PATCH] 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 --- src/build/genprod.scala | 2 +- src/library/scala/Enumeration.scala | 2 +- src/library/scala/collection/immutable/Stream.scala | 2 +- src/library/scala/unchecked.scala | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/build/genprod.scala b/src/build/genprod.scala index 8fc7979b4..89952f19f 100644 --- a/src/build/genprod.scala +++ b/src/build/genprod.scala @@ -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() = "\"" + ("" format i) + "\"" diff --git a/src/library/scala/Enumeration.scala b/src/library/scala/Enumeration.scala index 13c8cdfc1..45cb3a6bb 100644 --- a/src/library/scala/Enumeration.scala +++ b/src/library/scala/Enumeration.scala @@ -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 diff --git a/src/library/scala/collection/immutable/Stream.scala b/src/library/scala/collection/immutable/Stream.scala index 55821c234..8fa276e02 100644 --- a/src/library/scala/collection/immutable/Stream.scala +++ b/src/library/scala/collection/immutable/Stream.scala @@ -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)) diff --git a/src/library/scala/unchecked.scala b/src/library/scala/unchecked.scala index 4f1f3f195..10d34312c 100644 --- a/src/library/scala/unchecked.scala +++ b/src/library/scala/unchecked.scala @@ -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 * }